# Issues customizing \`JULIAUP\_DEPOT\_PATH\` for VSCode

**URL:** https://discourse.julialang.org/t/issues-customizing-juliaup-depot-path-for-vscode/135152
**Category:** General Usage
**Tags:** juliaup
**Created:** [January 19, 2026, 10:05pm UTC](https://discourse.julialang.org/t/issues-customizing-juliaup-depot-path-for-vscode/135152 "2026-01-19T22:05:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jlchan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlchan/32/10958_2.png) [@jlchan](https://discourse.julialang.org/u/jlchan)
#### Post date: [January 19, 2026, 10:05pm UTC](https://discourse.julialang.org/t/issues-customizing-juliaup-depot-path-for-vscode/135152/1 "2026-01-19T22:05:28Z")

</div>

I’m having some trouble customizing `JULIA_DEPOT_PATH` through `juliaup` based on the [juliaup repo](https://github.com/JuliaLang/juliaup?tab=readme-ov-file#path-used-by-juliaup) is that

Before installing Julia/juliaup, I add

```julia-auto
export JULIAUP_DEPOT_PATH=/workspace/.julia

```

to my `~/.bashrc` file. I then install juliaup and julia via

```julia-auto
curl -fsSL https://install.julialang.org | sh -s -- --path /workspace/.julia/

```

However, when I run Julia and check `DEPOT_PATH`, the first entry is still `~/.julia`. Any idea of what’s going on?

---

<div class="post-metadata">

### Author: ![jlchan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlchan/32/10958_2.png) [@jlchan](https://discourse.julialang.org/u/jlchan)
#### Post date: [January 19, 2026, 10:12pm UTC](https://discourse.julialang.org/t/issues-customizing-juliaup-depot-path-for-vscode/135152/2 "2026-01-19T22:12:00Z")

</div>

Specifying

```julia-auto
JULIA_DEPOT_PATH=/workspace/.julia

```

works for the terminal. Did I just misunderstand [GitHub - JuliaLang/juliaup: Julia installer and version multiplexer](https://github.com/JuliaLang/juliaup?tab=readme-ov-file#path-used-by-juliaup) and need to specify both the juliaup and Julia depot paths?

Setting this environment variable doesn’t work for VSCode (I’ve seen some recommendations that I launch it from terminal, but I don’t think that helps if I’m using VSCode to connect remotely through SSH). Is there any way to fix this for VSCode?

---

<div class="post-metadata">

### Author: ![jlchan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlchan/32/10958_2.png) [@jlchan](https://discourse.julialang.org/u/jlchan)
#### Post date: [January 19, 2026, 11:37pm UTC](https://discourse.julialang.org/t/issues-customizing-juliaup-depot-path-for-vscode/135152/3 "2026-01-19T23:37:53Z")

</div>

I think I got something to work for VSCode based on [Unable to set/change Julia environment in vscode · Issue #2631 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/issues/2631). Setting `terminal.integrated.env.linux` in VSCode seems to allow VSCode to detect `JULIA_DEPOT_PATH`

 ![Screenshot 2026-01-19 at 5.36.05 PM](https://global.discourse-cdn.com/julialang/original/3X/9/0/901dfac7a95d09b0340864ee0f9c07356bc0e675.png)  
 ![Screenshot 2026-01-19 at 5.36.22 PM](https://global.discourse-cdn.com/julialang/original/3X/7/b/7b714084b0684f9c108d3cdabc384c4075b901f8.png)
