# Limit the usage of packages from outside the Manifest.toml

**URL:** <https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [October 27, 2020, 10:51am UTC](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110 "2020-10-27T10:51:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Glos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adam_glos/32/18987_2.png) [@Adam\_Glos](https://discourse.julialang.org/u/Adam_Glos)\
**Post date:** [October 27, 2020, 10:51am UTC](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110/1 "2020-10-27T10:51:20Z")

</div>

I prepared a Manifest.toml by activating the directory `activate .` I added some packages and having activated environment, I go back to Julia environment. However I’m still able to access packages which has not been included into the environment. Is it a desired behavior? Am I confusing Julia’s environments with the way conda’s environments works?

---

<div class="post-metadata">

**Author:** ![Adam\_Glos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adam_glos/32/18987_2.png) [@Adam\_Glos](https://discourse.julialang.org/u/Adam_Glos)\
**Post date:** [October 27, 2020, 11:50am UTC](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110/2 "2020-10-27T11:50:44Z")

</div>

If I understand correctly, the packages from default environment (v1.5 for example) are always present?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [October 27, 2020, 12:07pm UTC](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110/3 "2020-10-27T12:07:40Z")

</div>

You can set the env variable ` JULIA_LOAD_PATH="@"` before starting Julia. Then you will only be able to load those packages that are in the current project.

---

<div class="post-metadata">

**Author:** ![Adam\_Glos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adam_glos/32/18987_2.png) [@Adam\_Glos](https://discourse.julialang.org/u/Adam_Glos)\
**Post date:** [October 27, 2020, 12:11pm UTC](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110/4 "2020-10-27T12:11:21Z")

</div>

Thanks!
