Installing Julia System Wide

I’m using Windows 10 on my desktop machine and I would like to install Julia system wide. When I follow the instructions to right click and run as administrator, it still wants to install it in my appdata folder (as if I didn’t select run as admin and wanted a single user install). Anyway to fix this?

Does the installer add Julia to the PATH variable? The way I have it setup right now, I have start Julia with a batch file (I’m aware I can edit the PATH variable add Julia).

You may have solved your problem by now, but I’ll try to answer your questions.

  1. You can edit the path in the installer prompt to install the package wherever you want it to be.

  2. The installer doesn’t modify the path. Dealing with that is the same as for any application you want to run. The installer adds shortcuts to the Windows menu, and optionally to the desktop, which will open Julia in a PowerShell window. If you want to run Julia from a console/terminal prompt, you can a) change the PATH variable, b) type the full path to julia.exe or c) use a batch file as you describe. Note that the batch file must also be in a directory that’s in PATH. I find it easiest to edit PATH each time I update the Julia version.

Does this help?

1 Like

This is, AFAICT, improved in Julia 1.6. See https://github.com/JuliaLang/julia/issues/37077 and https://github.com/JuliaLang/julia/pull/37161.

1 Like