How to install the newest version of a package?

In case it is not clear, there is a difference between add KiteModels#v0.6.3 and add KiteModels@0.6.3.

1 Like

The registry is stored in the depot, under the registries subdirectory.

There is one per depot.

As I mentioned here, by default fetches a new registry on the first pkg command in the session, and you will see a log message saying it is updating the registry, but you may have disabled this in your startup.jl (I don’t know). It also updates automatically when you run update (but that also updates your packages).

You can run ] registry update to update the registries manually.

What is the difference?

The first one with the # specifies a git revision. The second one with the @ specifies a package version.

2 Likes