# How to update JuMP

**URL:** <https://discourse.julialang.org/t/how-to-update-jump/60682>\
**Category:** Optimization (Mathematical)\
**Tags:** question, package\
**Created:** [May 6, 2021, 8:47pm UTC](https://discourse.julialang.org/t/how-to-update-jump/60682 "2021-05-06T20:47:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaquelSantos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raquelsantos/32/3668_2.png) [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Post date:** [May 6, 2021, 8:47pm UTC](https://discourse.julialang.org/t/how-to-update-jump/60682/1 "2021-05-06T20:47:50Z")

</div>

I’m with JuMP v0.18.6 and I want to update to v0.21, but whenever I try the following message appears:

```julia
julia> Pkg.update ("JuMP")
    Updating registry at `C: \ Users \ raquel.santos \ .julia \ registries \ General`
    Updating registry at `C: \ Users \ raquel.santos \ .julia \ registries \ JuliaComputingRegistry`
No Changes to `C: \ Users \ raquel.santos \ .julia \ environments \ JuliaPro_v1.5.2-1 \ Project.toml`
No Changes to `C: \ Users \ raquel.santos \ .julia \ environments \ JuliaPro_v1.5.2-1 \ Manifest.toml`

```

What should I do to be able to update the pck?  
Thankssss

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [May 6, 2021, 9:21pm UTC](https://discourse.julialang.org/t/how-to-update-jump/60682/2 "2021-05-06T21:21:22Z")

</div>

You likely have another package preventing JuMP from updating.

You can see which via `] add JuMP@0.21`. Then read:  
[https://pkgdocs.julialang.org/v1/managing-packages/#conflicts](https://pkgdocs.julialang.org/v1/managing-packages/#conflicts)

The solution is to use a package environment [4. Working with Environments · Pkg.jl](https://pkgdocs.julialang.org/v1/environments/) so you don’t have these conflicts.

---

<div class="post-metadata">

**Author:** ![RaquelSantos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raquelsantos/32/3668_2.png) [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Post date:** [May 12, 2021, 6:05pm UTC](https://discourse.julialang.org/t/how-to-update-jump/60682/3 "2021-05-12T18:05:57Z")

</div>

I add the ` JuMP@0.21` and it worked. Thanks
