I simply made an alias for julia in my ~/.bashrc file and that should be 
good enough:
alias julia=
"/Applications/Julia-0.4.1.app/Contents/Resources/julia/bin/julia"
after saving, you just need to source your .bashrc:
source ~/.bashrc


On Saturday, November 28, 2015 at 2:00:50 PM UTC-7, Kevin Owens wrote:
>
> tl;dr: how to make a symbolic link in OS X.
>
> So, if you don't want to build Julia from source, you can download the 
> .app on OS X. For me, this doesn't work well because it opens Terminal when 
> I double click on the .app, and I like to use Iterm. Also, there's not an 
> easy way to open or use Julia from the terminal.
>
> The solution is a symbolic link, and running something like this in a 
> terminal:
>
> sudo ln -s /Applications/Julia-0.4.1.app/Contents/Resources/julia/bin/julia 
> /usr/bin/julia
> sudo ln -s /Applications/Julia-0.4.1.app/Contents/Resources/julia/bin/
> julia-debug /usr/bin/julia-debug
>
>
>
> which creates links in /usr/bin to julia and julia-debug.
>

Reply via email to