LinuxWindows

Where Is the Julia Depot?

Julia depot (~/.julia) with packages, environments, registries and compiled cache, plus JULIA_DEPOT_PATH.

Last updated

Julia keeps packages, project environments, registries and precompiled cache in a depot directory defaulting to ~/.julia. Everything resolves under that root.

The depot grows large with use. Compiled cache dominates; wiping it costs recompile time, never correctness.

Where Julia stores this, by platform

Linux
~/.julia

Holds packages, environments, registries and compiled cache. Override with JULIA_DEPOT_PATH. Same layout on all platforms.

Windows
%USERPROFILE%\.julia

Same role. Depot moves as one folder; set the variable before first run on the new path.

Frequently asked questions

How do I move the Julia depot?

Set JULIA_DEPOT_PATH to the new folder before running Julia, then move packages, environments and registries across. Depot layout stays identical; only the root moves.

Notice an outdated path? Let us know.