We'll be using PolyML as our Standard ML implementation.
If you are using Windows you can download an installer from https://github.com/polyml/polyml/releases. General instructions for Linux/OS X/Free BSD can be found at https://github.com/polyml/polyml#readme.
If you want to install from source, the process is pretty easy:
$ git clone https://github.com/polyml/polyml.git
$ cd polyml
$ ./configureIf you want to install it in a custom location for instance $HOME/.local:
$ ./configure --prefix=$HOME/.localLast step:
$ make compiler
$ make installCheck that it was installed correctly:
$ polyIf you see the interpreter, you are ready!
If not, you'll probably have to add $HOME/.local/bin (or <you prefix>/bin) to your $PATH.