# It takes several minutes to add a single package

**URL:** <https://discourse.julialang.org/t/it-takes-several-minutes-to-add-a-single-package/70704>\
**Category:** New to Julia\
**Tags:** pkg, environment\
**Created:** [October 31, 2021, 8:59pm UTC](https://discourse.julialang.org/t/it-takes-several-minutes-to-add-a-single-package/70704 "2021-10-31T20:59:07Z")\
**Posts on this page:** 1\
**Showing post:** 78

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [November 2, 2021, 9:35pm UTC](https://discourse.julialang.org/t/it-takes-several-minutes-to-add-a-single-package/70704/78 "2021-11-02T21:35:57Z")

</div>

> [@kristoffer.carlsson](#):
>
> The updated versions caused a lot of packages having to recompile in the big environment.

I have to say that I find it frustrating that Julia _defaults_ to updating the registry, and potentially updates _all_ of my packages (if new versions are available, which is often the case) whenever I want to install a single new package. I really only want it to update if I specifically run `pkg> update` — otherwise, Julia should assume I’m happy with the versions I currently have.

A workaround that does what I want is to put

```julia
Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true

```

in your `~/.julia/config/startup.jl`, but I wish this was the default.

---

_[View the full topic](https://discourse.julialang.org/t/it-takes-several-minutes-to-add-a-single-package/70704)._
