Where is juliarc (the Julia startup file)?
Where is juliarc (the Julia startup file)?
I gather that Julia used to have a file called juliarc.jl that let you specify things that you wanted Julia to do upon startup. Some time ago, it lived in ~/.julia/config/startup.jl, according to this reference. I now have Julia 1.0.0 on a Windows 7 machine, and I have neither the directory ~/.julia/config nor any files called juliarc.jl.
juliarc.jl
~/.julia/config/startup.jl
~/.julia/config
juliarc.jl
What is the modern way to tell Julia to do some tasks on startup?
1 Answer
1
The location of files has changed in Julia 1.0 (ref: https://github.com/JuliaLang/julia/pull/26161)
Now the locations are the following:
JULIA_INSTALL_FOLDERetcjuliastartup.jl
JULIA_INSTALL_FOLDER
/
%HOMEPATH%.juliaconfigstartup.jl
~/.julia/config/startup.jl
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Do note that this is mentioned in the "Getting Started" section of the manual if you search for "startup"
– miguel raz
Sep 6 '18 at 20:22