Download the file config.tgz. Unpack, configure by editing config/targets, and install by running config/install.sh. The installer automatically downloads any additional files it might need. For more information, see the install.html file.
You can either use the "generic Unix" procedure above or you can install a pre-built system using an installer package. We provide a 64-bit installer for Intel Macs:
The macOS installer (on Intel) puts SML/NJ in the directory /usr/local/smlnj; if you have a previous version installed, then it will be updated in place. If you wish to install at a different location, you should use the build procedure for Unix systems.
The installer works on macOS Catalina and later, but you will need to right-click on the installer to launch it, since it is not a notarized installer.
We are currently working on a native port of SML/NJ for Apple's new Arm-based hardware. Meanwhile, version 110.99.2 is known to run on M1 Macs using the Rosetta2 emulation system.
This version does not support Windows.
For information on how to use access the subversion repository,
refer to our subversion recipe page.
Warning: When pulling the latest sources via subversion, there is no guarantee that config/install.sh will operate successfully due to a lack of usable bootfiles. In this case you might be able to generate new bootfiles using the bootstrap compiler (of an older version). Even that can be very difficult or even impossible, however, in which case you will have to wait for the next working version to be released.