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).

  1. clone the repository for version 2024.2.

     git clone --depth 1 --branch v2024.2 --recurse-submodules \

    Note that you can also clone the entire repository and then switch to the v2024.2 tag.

  2. cd to the cloned repository and fetch the boot files using curl or wget.

     cd smlnj
     curl -O

    We plan to incorporate this step into the script in the future.

  3. build the installation


    Use -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 script, bin/sml will be the interactive system.