In the cases below, # Homebrew indicates the command if you're using Homebrew as the installer, and # MacPorts is if you're using MacPorts to install.įor Linux the preferred way is to use your system's package manager on Ensure you use the exact case and spacing shown, then hit return/enter at the end of every line. Type each command after the prompt $, although it's often represented by a %, >, or another symbol as well. If you're new to the CLI, the code blocks (in black) shows the required command (the text after # gives more information on the following commands). You will also use Opam when installing third-party OCaml libraries.įind the all installation instructions for both Unix-like systems and Windows below. Opam is OCaml's package manager, so we'll install it first. It's a straightfoward process to install OCaml however you will need Homebrew or MacPorts if you're running Linux or macOS. These instructions work on Unix-based systems like Linux and macOS, and there are also instructions on how to install OCaml on Windows. This page will walk you through the installation of OCaml and the Dune build system, as well as offer support for
0 Comments
Leave a Reply. |