Pattern for activating the current project

You can choose project at startup

julia --project=path/to/project

or

julia --project

which will look for Project.toml in current directory and its parents. You can also use the JULIA_PROJECT environment variable to specify this.

See Should the CurrentEnv path be set at julia startup and not follow with the pwd? · Issue #27411 · JuliaLang/julia · GitHub, Automatically load environments? · Issue #360 · JuliaLang/Pkg.jl · GitHub

4 Likes