# Change local of instalation of \\.julia

**URL:** https://discourse.julialang.org/t/change-local-of-instalation-of-julia/54010
**Category:** New to Julia
**Created:** [January 26, 2021, 8:30pm UTC](https://discourse.julialang.org/t/change-local-of-instalation-of-julia/54010 "2021-01-26T20:30:27Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [January 27, 2021, 4:40pm UTC](https://discourse.julialang.org/t/change-local-of-instalation-of-julia/54010/7 "2021-01-27T16:40:09Z")

</div>

The set syntax is specific to Windows batch scripting in the command prompt `cmd.exe`.

Within Julia, you just need to manipulate the DEPOT\_PATH array:

```julia
julia> DEPOT_PATH
3-element Array{String,1}:
 "C:\\Users\\kittisopikulm\\.julia"
 "C:\\Users\\kittisopikulm\\AppData\\Local\\Programs\\Julia 1.5.0\\local\\share\\julia"
 "C:\\Users\\kittisopikulm\\AppData\\Local\\Programs\\Julia 1.5.0\\share\\julia"

julia> DEPOT_PATH[2]
"C:\\Users\\kittisopikulm\\AppData\\Local\\Programs\\Julia 1.5.0\\local\\share\\julia"

julia> DEPOT_PATH[2] = "C:\\JuliaNovo\\Julia 1.5.0\\local\\share\\julia"
"C:\\JuliaNovo\\Julia 1.5.0\\local\\share\\julia"

julia> DEPOT_PATH
3-element Array{String,1}:
 "C:\\Users\\kittisopikulm\\.julia"
 "C:\\JuliaNovo\\Julia 1.5.0\\local\\share\\julia"
 "C:\\Users\\kittisopikulm\\AppData\\Local\\Programs\\Julia 1.5.0\\share\\julia"

```

My recommendation, however, is that you install Julia to a different location and then permanently set the `JULIA_DPEOT_PATH` using these instructions:

> **[How to change environment variables on Windows 10 | Architect Ryan](https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/)**
>
> Thoughts from Ryan Hoffman, an experienced team leader, software architect and developer.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/a/ba46c575f035434841dd3eb0f072b2a371c21117.png)

---

_[View the full topic](https://discourse.julialang.org/t/change-local-of-instalation-of-julia/54010)._
