Skip to content

Commit

Permalink
docs: @project-serum/anchor-cli install instructions (coral-xyz#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
secretshardul authored Sep 13, 2021
1 parent bf5cf80 commit cc2f5e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/src/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc2f5e3

Please sign in to comment.