Anchor Version Manager
AVM reference documentation
Anchor Version Manager (avm) is provided to manage multiple installations of the anchor-cli binary. This may be required to produce verifiable builds, or if you'd prefer to work with an alternate version.
Install
Install the specified version of anchor-cli. The version argument should follow
semver versioning. It is also possible to use latest as the version argument
to install the latest stable version, or latest-pre-release for the latest
pre-release:
It's also possible to install based on a specific commit hash or a pre-release version tag:
List
List available versions. Pass --pre-release to include pre-release versions
in the output:
Uninstall
Update
Update to the latest stable version. Pass --pre-release to allow updating to
the latest pre-release instead:
Use
Use a specific version. This version will remain in use until you change it by
calling the same command again. Similarly to avm install, you can use
latest or latest-pre-release for the version argument:
Self-update
Update avm itself. By default installs the latest stable release of avm.
| Flag | Description |
|---|---|
--pre-release | Update to the latest pre-release version instead of the latest stable |
--bleeding-edge | Build and install from the latest commit on the master branch (conflicts with --pre-release) |
avm will also passively warn you when it detects that a newer version of
itself is available.