# How to upgrade easily?

**URL:** <https://discourse.julialang.org/t/how-to-upgrade-easily/27753>\
**Category:** New to Julia\
**Tags:** juliaup\
**Created:** [August 20, 2019, 11:26am UTC](https://discourse.julialang.org/t/how-to-upgrade-easily/27753 "2019-08-20T11:26:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [November 8, 2019, 7:53pm UTC](https://discourse.julialang.org/t/how-to-upgrade-easily/27753/8 "2019-11-08T19:53:19Z")

</div>

This is the process I use for installing a new Julia version: [Transitioning from Ubuntu PPA to official binaries - #2 by rdeits](https://discourse.julialang.org/t/transitioning-from-ubuntu-ppa-to-official-binaries/28650/2)

If you are only changing _patch_ versions (e.g. from 1.2.3 to 1.2.4), then your packages will be unchanged, and you don’t need to do anything. If you are installing a new minor version (e.g. from 1.2 to 1.3) then your packages will not carry over. But it should be easy to use the package manager to ensure that you get the same set of packages in the new version that you had before.

For example, if you had Julia 1.2 installed, and you then added Julia 1.3, you could do:

```julia
cp ~/.julia/environments/v1.2 ~/.julia/environments/v1.3

```

and then launch Julia and do:

```julia
pkg> instantiate

```

This will tell the package manager to install the same set of packages in Julia 1.3 that you had in Julia 1.2. For most cases that should be sufficient to ensure that your new Julia version has the same package environment that your old Julia version did.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-upgrade-easily/27753)._
