-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tom Linton
authored
Feb 9, 2022
1 parent
353fd6f
commit 16fbce6
Showing
3 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Anchor Version Manager | ||
|
||
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. | ||
|
||
``` | ||
Anchor version manager | ||
USAGE: | ||
avm <SUBCOMMAND> | ||
OPTIONS: | ||
-h, --help Print help information | ||
-V, --version Print version information | ||
SUBCOMMANDS: | ||
help Print this message or the help of the given subcommand(s) | ||
install Install a version of Anchor | ||
list List available versions of Anchor | ||
uninstall Uninstall a version of Anchor | ||
use Use a specific version of Anchor | ||
``` | ||
|
||
## Install | ||
|
||
``` | ||
avm install <version> | ||
``` | ||
|
||
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 version. | ||
|
||
## List | ||
|
||
``` | ||
avm list | ||
``` | ||
|
||
Lists available versions of anchor-cli. | ||
|
||
``` | ||
0.3.0 | ||
0.4.0 | ||
0.4.1 | ||
0.4.2 | ||
0.4.3 | ||
0.4.4 | ||
0.4.5 | ||
0.5.0 | ||
0.6.0 | ||
0.7.0 | ||
0.8.0 | ||
0.9.0 | ||
0.10.0 | ||
0.11.0 | ||
0.11.1 | ||
0.12.0 | ||
0.13.0 | ||
0.13.1 | ||
0.13.2 | ||
0.14.0 | ||
0.15.0 | ||
0.16.0 | ||
0.16.1 | ||
0.16.2 | ||
0.17.0 | ||
0.18.0 | ||
0.18.2 | ||
0.19.0 | ||
0.20.0 (installed) | ||
0.20.1 (latest, installed, current) | ||
``` | ||
|
||
## Uninstall | ||
|
||
``` | ||
avm uninstall <version> | ||
``` | ||
|
||
## Use | ||
|
||
``` | ||
avm use <version> | ||
``` | ||
|
||
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 also use `latest` for the version. |