# How to skip the updating registry step

**URL:** <https://discourse.julialang.org/t/how-to-skip-the-updating-registry-step/31220>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [November 18, 2019, 12:12pm UTC](https://discourse.julialang.org/t/how-to-skip-the-updating-registry-step/31220 "2019-11-18T12:12:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![innerlee](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@innerlee](https://discourse.julialang.org/u/innerlee)\
**Post date:** [November 18, 2019, 12:12pm UTC](https://discourse.julialang.org/t/how-to-skip-the-updating-registry-step/31220/1 "2019-11-18T12:12:25Z")

</div>

When the connection is slow, we might hang at this step when trying to add a new package:

```julia
Updating registry at `~/.julia/registries/General`

```

How to simply skip this step? It was updated minutes before (after waited for 0.5h), and then need to wait again (trying to add multiple packages).

---

<div class="post-metadata">

**Author:** ![innerlee](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@innerlee](https://discourse.julialang.org/u/innerlee)\
**Post date:** [November 18, 2019, 12:19pm UTC](https://discourse.julialang.org/t/how-to-skip-the-updating-registry-step/31220/2 "2019-11-18T12:19:52Z")

</div>

Okay I guess it is

```julia
Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true

```
