How to skip the updating registry step

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

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).

1 Like

Okay I guess it is

Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true
1 Like