I wrote a small Julia program:
println("Hello world!")
I can run Julia from the Terminal:
$ /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia test.jl
Hello world!
To make my life easier, I tried to create a symbolic link to the julia file. However, it doesn't seem to work!
$ sudo ln -s /Applications/Julia-0.6.app/Contents/Resources/bin/julia /usr/local/bin/julia
$ julia
-bash: julia: command not found
$ type -a julia
-bash: type: julia: not found
How do I get my symbolic link to work properly?
What is confusing for me is that /usr/local/bin/
is in my PATH:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin
type -a julia
says?