Skip to content

Instantly share code, notes, and snippets.

@haldun
Created August 8, 2013 13:35
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haldun/6184624 to your computer and use it in GitHub Desktop.
Save haldun/6184624 to your computer and use it in GitHub Desktop.
Ocaml environment setup for OS X
Run these commands in the terminal:
brew update
brew install ocaml
brew install pcre
brew install opam
opam init
eval `opam config env`
opam switch 4.01.0dev+trunk
eval `opam config env`
opam install core core_extended core_bench async
opam install utop
Edit ~/.ocamlinit as follows:
#use "topfind"
#thread
#camlp4o
#require "core.top"
#require "core.syntax"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment