Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem running smlnj under OSX 10.6

Tags:

macos

sml

smlnj

I downloaded and installed the SML NJ implementation using the DMG for x86 from here : 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 not found. I am not very familiar with UNIX so I guess I am doing something wrong.

Thanks for the help!

like image 948
user671382 Avatar asked Mar 22 '11 14:03

user671382


1 Answers

Add the following line to your ~/.bash_profile

export PATH=$PATH:/usr/local/smlnj/bin

Then open a new terminal window and run sml.

like image 143
justspamjustin Avatar answered Sep 28 '22 13:09

justspamjustin