# Is any way to install multiple versions of same package?

**URL:** <https://discourse.julialang.org/t/is-any-way-to-install-multiple-versions-of-same-package/20898>\
**Category:** General Usage\
**Created:** [February 17, 2019, 12:03pm UTC](https://discourse.julialang.org/t/is-any-way-to-install-multiple-versions-of-same-package/20898 "2019-02-17T12:03:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [February 17, 2019, 4:00pm UTC](https://discourse.julialang.org/t/is-any-way-to-install-multiple-versions-of-same-package/20898/5 "2019-02-17T16:00:43Z")

</div>

> [@rssdev10](#):
>
> The conception of multiple packages actually is present in Ruby gems/bundler, Java/maven/gradle, etc. I can have multiple versions of same packages and use one of them in different applications. But in Julia I cannot install both HTTP 0.7.1 and 0.8.0. I have two different services.

You can absolutely do this in Julia as well. The best approach is probably to do something like this in the top directory of a project:

```jl
julia> # press `]` to activate the package REPL mode...

(v1.1) pkg> activate .

(Project1) pkg> add HTTP@0.8

```

This will create `Project.toml` and `Manifest.toml` files in `Project1`. After that if you run `julia --project` anywhere inside of that project directory, the initial active project will be `Project1` instead of `v1.1`. In the other project directory, do the same thing but `add HTTP 0.7` instead. These are totally separate and independent sets of packages and versions. If you commit the project and manifest files in version control, you’ll have a perfect record of your entire Julia dependency graph for each project.

---

_[View the full topic](https://discourse.julialang.org/t/is-any-way-to-install-multiple-versions-of-same-package/20898)._
