PangoThe Solana and web3js starter guide
  • Introduction
  • Get Started
    • Anchor
    • Node
    • Rust
    • Solana
    • TypeScript
    • Transfer-Sol
  • Introduction
  • Get Started
    • Anchor
    • Node
    • Rust
    • Solana
    • TypeScript
    • Transfer-Sol

How to install Anchor

What is Anchor?#

Anchor is a Rust framework and will halp you to build smart contract.

Installing Dependencies#

To install and run Anchor you need install Rust, Solana, NodeJS and Yarn

Yarn#

To install yarn run:

npm install -g yarn

Anchor#

npm i -g @project-serum/anchor-cli

If you want build from source, check this doc.

To check, you can initialize a new project running:

anchor init <name>
Get Started
Node

Pango