install_ocaml

Install OCaml and opam on your system

Usage no npm install needed!

<script type="module">
  import installOcaml from 'https://cdn.skypack.dev/install_ocaml';
</script>

README

This is a command line tool to install OCaml and opam on your machine.

Install and run with it with:

$ npm install install_ocaml -g
$ install_ocaml

Yay, now you the OCaml compilers ocamlc, ocamlopt and the repl ocaml installed on your system. You also have opam, OCaml's package manager installed.

Be sure to read my blog post that will get you up to speed on everything OCaml including the build systems, jargon and things you can do.

Fun Facts!

install_ocaml was written in OCaml, in code.ml, and compiled to JavaScript with js_of_ocaml.