ocaml

The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: <https://ocaml.org>.

Install

All systems
curl cmd.cat/ocaml.sh
Debian Debian
apt-get install ocaml-interp
Ubuntu
apt-get install ocaml-interp
Alpine
apk add ocaml
Arch Arch Linux
pacman -S ocaml
image/svg+xml Kali Linux
apt-get install ocaml-interp
CentOS
yum install ocaml
Fedora
dnf install ocaml
Windows (WSL2)
sudo apt-get update sudo apt-get install ocaml-interp
OS X
brew install ocaml
Raspbian
apt-get install ocaml-interp
Docker
docker run cmd.cat/ocaml ocaml powered by Commando

The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: <https://ocaml.org>.

  • Read OCaml commands from the user and execute them:
    ocaml
  • Read OCaml commands from a file and execute them:
    ocaml path/to/file.ml
  • Run OCaml script with modules:
    ocaml module1 module2 path/to/file.ml

© tl;dr; authors and contributors