# Packages under /.julia/dev/ shared by different versions of Julia?

**URL:** <https://discourse.julialang.org/t/packages-under-julia-dev-shared-by-different-versions-of-julia/42537>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 4, 2020, 9:06pm UTC](https://discourse.julialang.org/t/packages-under-julia-dev-shared-by-different-versions-of-julia/42537 "2020-07-04T21:06:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [July 6, 2020, 4:08pm UTC](https://discourse.julialang.org/t/packages-under-julia-dev-shared-by-different-versions-of-julia/42537/7 "2020-07-06T16:08:41Z")

</div>

Are you actually intending to edit the code in the cloned version of the package? Or are you just trying to have two different versions of `A` as dependencies for two different versions of Julia?

If the latter, don’t `develop A`; instead `Pkg.add` the version that you want to pin for the older Julia version.

Note also that you can always download a new version of `A` to anywhere you want using any method you want. If you then `develop(path/toA)` you will use that version of `A` in that particular environment. `develop` just means: put an entry into `Package.toml` that points to a local folder. Whatever code sits there will be used in that environment. That could be your own code or a package that you downloaded (by whatever method) from anywhere else.

---

_[View the full topic](https://discourse.julialang.org/t/packages-under-julia-dev-shared-by-different-versions-of-julia/42537)._
