

However, please note that it is still experimental and in active development. Which installs both OCaml and the OCaml Platform tools.

Note that, if you use Windows Subsystem for Linux (WSL), the Unix instructions can be used on Windows.Īlternatively, for Linux, macOS and *BSD, there is also the OCaml Platform Installer For Windows, we provide instructions on this page for installing OCaml 4.14.0 via the Diskuv OCaml Installer. We provide installation instructions for Linux, macOS, and *BSD for all OCaml versions. Of course, this includes installing the compiler itself, but it also installs a build system, a package manager, an LSP server to support your editor, and a few other tools that we describe later, setting up editor support, and bootstrapping a new project. This page will walk you through the installation of everything you need for a comfortable development environment to write projects in OCaml code.
