# Pkg.add updates other packages too?

**URL:** https://discourse.julialang.org/t/pkg-add-updates-other-packages-too/58165
**Category:** General Usage
**Tags:** package-manager
**Created:** [March 25, 2021, 8:51pm UTC](https://discourse.julialang.org/t/pkg-add-updates-other-packages-too/58165 "2021-03-25T20:51:31Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)
#### Post date: [March 27, 2021, 8:38pm UTC](https://discourse.julialang.org/t/pkg-add-updates-other-packages-too/58165/3 "2021-03-27T20:38:27Z")

</div>

Thanks for referring me to the docs.

The current default option is: `preserve=PRESERVE_TIERED`  
By “consent” I mean avoiding a default option for package resolution and instead asking the user to select an option in REPL.

Or maybe keep the default option in `Pkg.add` as is (with current warnings), but tell the user in `Pkg.status()` which package version is in the current environment and which version is the latest:

```julia
(@v1.6) pkg> status
      Status `C:\Users\azevelev\.julia\environments\v1.6\Project.toml`
              Package Current Latest
  [f6006082] `EvoTrees v0.5.3 v0.7.0`
  [9bbee03b] NaiveBayes v0.5.0 v0.5.0
  [add582a8] `MLJ v0.15.2 v0.16.0`
  [d491faf4] `MLJModels v0.13.3 v0.14.1` 

```

And highlight (in a different color?) which packages in the current environment are not the latest.

I think package resolution is [one](https://discourse.julialang.org/t/how-to-get-latest-version-number-of-a-package/27262) [of](https://discourse.julialang.org/t/julia-v1-4-0-has-been-released/36324/16) [the](https://github.com/JuliaLang/Pkg.jl/issues/1774#issuecomment-616223321) [most](https://github.com/JuliaLang/Pkg.jl/issues/1655) [common](https://stackoverflow.com/questions/57639110/julia-how-to-update-to-the-latest-version-of-a-package-i-e-flux) challenges faced by newcomers to Julia.

It [would help](https://github.com/alan-turing-institute/MLJ.jl/issues/757#issuecomment-807853741) if there was a standard parsimonious tutorial introducing package management to newcomers.

---

_[View the full topic](https://discourse.julialang.org/t/pkg-add-updates-other-packages-too/58165)._
