Want to change DEPOT_PATH

Help i need to change and update DEPOT_PATH.
when i change DEPOT_PATH by using DEPOT_PATH[1] = “”
after re open it reset

You can put something like

empty!(DEPOT_PATH)
push!(DEPOT_PATH,raw"d:\some\path\to\julia_depot")

into

C:\Users\USERNAME\.juliarc.jl

or, what is I believe is the current file to use:

C:\Users\USERNAME\.julia\config\startup.jl

You can set the environment variable JULIA_DEPOT_PATH, see https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_DEPOT_PATH-1.

1 Like