These instructions are for installing the development version of Standard ML of New Jersey (SML/NJ) on Unix and Unix-like operating systems (including Linux and macOS).
-
clone the repository for version 2024.2.
git clone --depth 1 --branch v2024.2 https://github.com/smlnj/smlnj.git
Note that you can also clone the entire repository and then switch to the
v2024.2tag. -
cdto the cloned repository and fetch the boot files usingcurlorwget.cd smlnj curl -O https://smlnj.org/dist/working/2024.2/boot.amd64-unix.tgz
We plan to incorporate this step into the
build.shscript in the future. -
build the installation
./build.sh
Use
build.sh -hto see the list of options accepted by the build script.As before, you can modify the
config/targetsfile to add/remove components from the build.
After successful running of the build.sh script, bin/sml will be the interactive
system.