docs: @project-serum/anchor-cli install instructions (#727)

This commit is contained in:
Shardul Aeer 2021-09-14 00:09:28 +05:30 committed by GitHub
parent bf5cf80c11
commit cc2f5e3fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,16 @@ npm install -g mocha
## Install Anchor
### Install using pre-build binary on x86_64 Linux
Anchor binaries are avalable via an NPM package [`@project-serum/anchor-cli`](https://www.npmjs.com/package/@project-serum/anchor-cli). Only x86_64 Linux is supported currently, you must build from source for other OS'.
```bash
npm i -g @project-serum/anchor-cli
```
### Build from source for other operating systems
For now, we can use Cargo to install the CLI.
```bash