I downloaded and installed the SML NJ implementation using DMG for x86: http://smlnj.cs.uchicago.edu/dist/working/110.72/index.html
However, when I open a terminal window and go to / usr / local / smlnj -110.72 / bin and run sml, I get a bash command that was not found. I am not very familiar with UNIX, so I think I'm doing something wrong.
Thanks for the help!
Going to the /usr/local/smlnj-xxx/bin , you need to run ./sml (unlike sml ) because the current directory ( . ) Is not located by default on Unix.
/usr/local/smlnj-xxx/bin
./sml
sml
.
Add the following line to your ~ / .bash_profile
export PATH=$PATH:/usr/local/smlnj/bin
Then open a new terminal window and run sml.