# Want to change DEPOT\_PATH

**URL:** <https://discourse.julialang.org/t/want-to-change-depot-path/28105>\
**Category:** General Usage\
**Created:** [August 28, 2019, 1:20pm UTC](https://discourse.julialang.org/t/want-to-change-depot-path/28105 "2019-08-28T13:20:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imrankhan\_juliaLang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imrankhan_julialang/32/12020_2.png) [@imrankhan\_juliaLang](https://discourse.julialang.org/u/imrankhan_juliaLang)\
**Post date:** [August 28, 2019, 1:20pm UTC](https://discourse.julialang.org/t/want-to-change-depot-path/28105/1 "2019-08-28T13:20:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [August 28, 2019, 1:31pm UTC](https://discourse.julialang.org/t/want-to-change-depot-path/28105/2 "2019-08-28T13:31:16Z")

</div>

You can put something like

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

```

into

```julia
C:\Users\USERNAME\.juliarc.jl

```

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

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

```

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 28, 2019, 1:48pm UTC](https://discourse.julialang.org/t/want-to-change-depot-path/28105/3 "2019-08-28T13:48:35Z")

</div>

You can set the environment variable `JULIA_DEPOT_PATH`, see [Environment Variables · The Julia Language](https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_DEPOT_PATH-1).
