The OCaml Platform
The OCaml Platform represents the best way for developers, both new and old, to write software in OCaml. It combines the core OCaml compiler with a coherent set of tools, documentation, libraries, and testing resources.
Detailed instructions to install OCaml and the Platform tools are available in "Installing OCaml". If you want to use the simpler, but experimental way to install the Platform, you can use the OCaml Platform Installer. To download it, run:
bash < <(curl -sL https://ocaml.org/install-platform.sh)
And run it to install the Platform tools in your opam switch: