Created
August 8, 2013 13:35
-
-
Save haldun/6184624 to your computer and use it in GitHub Desktop.
Ocaml environment setup for OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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