# JULIA\_MAX\_NUM\_PRECOMPILE\_FILES and vscode

**URL:** <https://discourse.julialang.org/t/julia-max-num-precompile-files-and-vscode/132069>\
**Category:** General Usage\
**Tags:** vscode\
**Created:** [September 3, 2025, 9:15am UTC](https://discourse.julialang.org/t/julia-max-num-precompile-files-and-vscode/132069 "2025-09-03T09:15:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Post date:** [September 3, 2025, 9:15am UTC](https://discourse.julialang.org/t/julia-max-num-precompile-files-and-vscode/132069/1 "2025-09-03T09:15:32Z")

</div>

Hi,

I would like to increase `JULIA_MAX_NUM_PRECOMPILE_FILES` for my workflow. However it is inconvenient to use `export JULIA_MAX_NUM_PRECOMPILE_FILES = 10` when using vscode.

What is the preferred workflow in this case?

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [September 3, 2025, 1:16pm UTC](https://discourse.julialang.org/t/julia-max-num-precompile-files-and-vscode/132069/2 "2025-09-03T13:16:44Z")

</div>

Put it in `.julia/config/startup.jl`?

---

<div class="post-metadata">

**Author:** ![rveltz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rveltz/32/2707_2.png) [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Post date:** [September 3, 2025, 1:44pm UTC](https://discourse.julialang.org/t/julia-max-num-precompile-files-and-vscode/132069/3 "2025-09-03T13:44:15Z")

</div>

the note in [Environment Variables · The Julia Language](https://docs.julialang.org/en/v1/manual/environment-variables/) argues against no?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [September 3, 2025, 2:24pm UTC](https://discourse.julialang.org/t/julia-max-num-precompile-files-and-vscode/132069/4 "2025-09-03T14:24:49Z")

</div>

You can set that in `terminal.integrated.env.linux` (or whichever one is appropriate for your OS). Otherwise just export it in .bashrc and it should be picked up too.
