# Add dev packages to Pkg environment outside of Project.toml

**URL:** <https://discourse.julialang.org/t/add-dev-packages-to-pkg-environment-outside-of-project-toml/55115>\
**Category:** New to Julia\
**Created:** [February 12, 2021, 3:36am UTC](https://discourse.julialang.org/t/add-dev-packages-to-pkg-environment-outside-of-project-toml/55115 "2021-02-12T03:36:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xzackli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xzackli/32/38301_2.png) [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Post date:** [February 12, 2021, 3:36am UTC](https://discourse.julialang.org/t/add-dev-packages-to-pkg-environment-outside-of-project-toml/55115/1 "2021-02-12T03:36:20Z")

</div>

I don’t want dependencies like Plots and Revise in my package, but it’s nice to use those packages in development. Is there a place I can specify “development packages” for a Pkg environment that don’t get added to my Project.toml?

(Maybe I’m misunderstanding something about package environments. Also, I actually don’t personally suffer from this problem, since I use a PackageCompiler image with my dev packages. But PRs to some packages I work on are incurring Plots and Revise in their Project.toml.)

---

<div class="post-metadata">

**Author:** ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)\
**Post date:** [February 12, 2021, 3:42am UTC](https://discourse.julialang.org/t/add-dev-packages-to-pkg-environment-outside-of-project-toml/55115/2 "2021-02-12T03:42:31Z")

</div>

If a package isn’t found in the current active environment, it falls back to looking in the global environment (the `(@v1.6) pkg>` one or whichever you use, the order of fallbacks is controlled by `Base.LOAD_PATH`), so you can put stuff in there that you only need for dev work like Plots, Revise, BenchmarkTools, etc…

---

<div class="post-metadata">

**Author:** ![xzackli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xzackli/32/38301_2.png) [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Post date:** [February 12, 2021, 3:44am UTC](https://discourse.julialang.org/t/add-dev-packages-to-pkg-environment-outside-of-project-toml/55115/3 "2021-02-12T03:44:23Z")

</div>

Fantastic. I will write some “contribution instructions” to add development packages to the global environment. Thanks!
