You can add something like this to .julia/config/startup.jl
:
using Pkg: Pkg
Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true
# and other stuff, deleted...
Type ] up
to update both the registry and packages, just ] add
will work from the existing copy of the registry.