OCaml Install OCaml On Debian like systems you can install OCaml with the following: sudo apt install ocaml Compile Your Code You can compile your hello_world.ml file with: ocamlc -o hello_world hello_world.ml Run Your Code You can run the resulting executable with: ./hello_world