brew install opam bzip2
OPAMYES=1 opam init --compiler=4.08.1 --disable-sandboxing
rehash
eval $(opam env)
OPAMYES=1 opam install dune reason rtop
rtop
. You should
see a big prompt for Reason. You can exit this by typing control + d.
shell
and sleection "Install 'code' command in PATH". This will
let you launch a copy of VSCode opened to a specific directory.
reason-vscode
. Click Install.
We will be using Windows's linux subsystem to use ReasonML in this course.
sudo apt update
sudo apt install -y build-essential bzip2 m4 openssl pkg-config rsync unzip xz-utils
sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
OPAMYES=1 opam init --compiler=4.08.1 --disable-sandboxing
eval $(opam env)
OPAMYES=1 opam install dune reason rtop
rtop
. You should
see a big prompt for Reason. You can exit this by typing control + d.
Install
to add support for interacting with WSL.
reason-vscode
. Click Install.
Remote-WSL: New Window
. This will open a new window
and install the necessary components to communicate with WSL.
sudo apt update
sudo apt install -y build-essential bzip2 m4 openssl pkg-config rsync unzip xz-utils
sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
OPAMYES=1 opam init --compiler=4.08.1 --disable-sandboxing
eval $(opam env)
OPAMYES=1 opam install dune reason rtop
rtop
. You should
see a big prompt for Reason. You can exit this by typing control + d.
reason-vscode
. Click Install.
remote-ssh
extension in VSCode
Remote-SSH: Connect to Host
.
<username>@<ip>
and press return.