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.1.
git clone --depth 1 --branch v2024.1 https://github.com/smlnj/smlnj.git
Note that you can also clone the entire repository and then switch to the
v2024.1
tag. -
cd
to the cloned repository and fetch the boot files usingcurl
orwget
.cd smlnj curl -O https://smlnj.org/dist/working/2024.1/boot.amd64-unix.tgz
We plan to incorporate this step into the
build.sh
script in the future. -
build the installation
./build.sh
Use
build.sh -h
to see the list of options accepted by the build script.As before, you can modify the
config/targets
file to add/remove components from the build.
After successful running of the build.sh
script, bin/sml
will be the interactive
system.