References : https://dev.realworldocaml.org/json.html#using-non-standard-json-extensions and https://cs3110.github.io/textbook/chapters/preface/install.html
- install opam
brew install opam
- initialize
opam init -y
and then runeval $(opam env --switch=default)
- install platform tools
opam install ocaml-lsp-server odoc ocamlformat utop
- check if things are working fine by running
utop
- Exit UTop by typing
#quit;;
or pressingCtrl+D
.