Simple Installer (macOS and Linux only)

The simple installer will set up a new OCaml environment (using the opam installer), and then install Imandra. Execute the install script from a terminal:

Ready!
sh <(curl -s "https://storage.googleapis.com/imandra-installer/install.sh")

Or, if you have wget available instead of curl:

Ready!
sh <(wget -O - "https://storage.googleapis.com/imandra-installer/install.sh")

The installer will:

  • Check for the presence of the opam package manager
  • If not present it will install version 2 for the current user
  • If present it will upgrade the current installation to version 2, if necessary
  • Setup an OCaml environment for Imandra
  • Download, setup and install Imandra into its OCaml environment in /usr/local/var/imandra/ (documentation for Imandra modules can be found in _opam/doc/index.html)
  • Install system-level binaries for the Imandra repl and its utilities

The entire setup process will take a while, usually around 30 minutes; the process is almost entirely automatic but you might be prompted for input a couple of times, either to authenticate using sudo or for setting installation paths (we recommend using the default options).

After the installation is finished, you should have the following binaries installed in your installation path (/usr/local/bin unless you specified a custom one):

  • imandra-repl: this is the main Imandra binary
  • imandra-http-server: an http api around core Imandra features, with endpoints for evaluation, verification, instance generation etc. For more information, hit the /spec endpoint when the server is running for a full specification of endpoints and request/response formats for the version you have installed.
  • imandra-extract: a utility to transpile files from IML syntax into either OCaml or Reason syntax

The following tooling utilities will also be installed alongside the main binaries, they are used to provide merlin integration for IDEs while writing or editing Imandra code:

  • imandra-merlin
  • ocamlmerlin
  • ocamlmerlin-imandra
  • ocamlmerlin-imandra-reason