improve install docs (#70)

This commit is contained in:
Paul 2022-04-18 12:21:15 -04:00 committed by GitHub
parent 9920c5d9b2
commit f8dfcbb1af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ Install `avm` using Cargo. Note this will replace your `anchor` binary if you ha
cargo install --git https://github.com/project-serum/anchor avm --locked --force
```
On Linux systems you may need to install additional dependencies if cargo install fails. E.g. on Ubuntu:
```
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev
```
Install the latest version of the CLI using `avm`, and then set it to be the version to use.
```