Skip to content

Commit

Permalink
docs: Add installation based on commit hash to avm install (#3293)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored Oct 4, 2024
1 parent cfe82aa commit 4d06a88
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/src/pages/docs/avm.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,24 @@ SUBCOMMANDS:
## Install

```shell
avm install <version>
avm install <VERSION_OR_COMMIT>
```

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.

It's also possible to install based on a specific commit hash:

```shell
# <VERSION>-<COMMIT>
avm install 0.30.1-cfe82aa682138f7c6c58bf7a78f48f7d63e9e466

# Full commit hash
avm install cfe82aa682138f7c6c58bf7a78f48f7d63e9e466

# Short commit hash
avm install cfe82aa
```

## List

```shell
Expand Down

0 comments on commit 4d06a88

Please sign in to comment.