Hi Anuj,

In general, there’s no need to worry about environment variables like 
JULIA_HOME, since that’s not essential to how setting PATH works. The important 
thing to do is to find the path of the Julia executable and to add that path to 
your value of the environment variable called PATH. On a Mac, that path should 
look something like

/Applications/Julia-*.app/Contents/Resources/julia/bin/julia

Hope that helps.

 — John

On Aug 12, 2014, at 8:02 AM, Anuj Prakash <[email protected]> wrote:

> Hey everyone,
> 
> I am new to julia. Will be using it for my machine learning projects.
> 
> I have downloaded 'julia-0.2.1-osx10.7+.dmg' for mac. I can use commands on 
> terminal. For running julia files on terminal I will need 'julia filename.jl' 
> command (read in previous posts). However, I get an error saying julia 
> command not found. I need to put $JULIA_HOME in $PATH but I am not not able 
> to figure out the value that has to used for $JULIA_HOME as $JULIA_HOME is 
> not yet defined by me.
> 
> Cheers,
> Anuj

Reply via email to