On Friday, September 20, 2013 at 9:20:22 PM UTC+2, Jason Pierce wrote:
>
>
>
> Can I set up Julia to run directly from the terminal in Mac OS 10.8? I 
> would like to execute a Julia file the same way I could for ruby: $ ruby 
> file.rb.
>
> I have downloaded and installed the Mac version of Julia. 
>
> Thanks for the help.
>

You can just create a symbolic link (not alias) by typing in terminal

sudo ln -s /Applications/Julia-x.x.x.app/Contents/Resources/julia/bin/julia 
/usr/bin/julia

or

sudo ln -s /Applications/Julia-x.x.x.app/Contents/Resources/julia/bin/julia 
/usr/local/bin/julia

(use only one command and the second if you don't like editing your main 
bin directory)

Reply via email to