# How to stack a new environment over the present one?

**URL:** <https://discourse.julialang.org/t/how-to-stack-a-new-environment-over-the-present-one/85993>\
**Category:** General Usage\
**Tags:** pkg, environment\
**Created:** [August 19, 2022, 9:56am UTC](https://discourse.julialang.org/t/how-to-stack-a-new-environment-over-the-present-one/85993 "2022-08-19T09:56:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Post date:** [August 19, 2022, 9:56am UTC](https://discourse.julialang.org/t/how-to-stack-a-new-environment-over-the-present-one/85993/1 "2022-08-19T09:56:25Z")

</div>

For example, in this sequence:

```julia
(@v1.8) pkg> activate a
  Activating new project at `~/a`

julia> Base.load_path()
4-element Vector{String}:
 "/home/jishnu/a/Project.toml"
 "/tmp/jl_wT5lem"
 "/home/jishnu/.julia/environments/v1.8/Project.toml"
 "/home/jishnu/packages/julias/julia-1.8/share/julia/stdlib/v1.8"

(a) pkg> activate b
  Activating new project at `~/b`

julia> Base.load_path()
4-element Vector{String}:
 "/home/jishnu/b/Project.toml"
 "/tmp/jl_wT5lem"
 "/home/jishnu/.julia/environments/v1.8/Project.toml"
 "/home/jishnu/packages/julias/julia-1.8/share/julia/stdlib/v1.8"

```

How do I add both `a` and `b` to the load path, other than explicitly modifying `LOAD_PATH`?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 19, 2022, 10:07am UTC](https://discourse.julialang.org/t/how-to-stack-a-new-environment-over-the-present-one/85993/2 "2022-08-19T10:07:14Z")

</div>

> [@jishnub](#):
>
> explicitly modifying `LOAD_PATH`

This is how you do it.
