2. Open a terminal and type:
sudo mkdir -p /usr/local/bin
- sh /path/to/opam_installer.sh /usr/local/bin
+ sudo sh /path/to/opam_installer.sh /usr/local/bin
Except replace `/path/to` with the real location, that you noted in step 1.
+ 3. If that works, then type:
+
+ opan init --comp 4.01.0
+
+ or whatever it was that the OPAM installer prompted you to type. This will download and install a fresh version of OCaml, and will take a bit of time.
+
<!--
If you do have Xcode, and want to do without MacPorts, then
what you need to do is download Findlib from