How to run Julia script in Atom

I just found an Atom text editor on OSX.

When I try to run the Julia script in Atom, as in Juno , I get a path error:

enter image description here

Changing my path by editing ~/.profile does not work ... How can I get this to start?

+5
source share
1 answer

Go to Atom -> Open Your Init Script

enter image description here

There, in the init.coffee file, put this:

 process.env.PATH = ["/Applications/Julia-0.4.0-dev-a9e0dd2fb2.app/Contents/Resources/julia/bin", process.env.PATH].join(":") 

and it should work when you do + i .

+5
source

All Articles