Run the following command:
curl -sSfL https://raw.githubusercontent.com/solana-developers/solana-install/main/install.sh | bash
To install the following dependencies for local development:
- Solana CLI
- Anchor CLI
- Rust
- Node.js
- Yarn
Output upon successful installation should be similar to the following:
Installed Versions:
Rust: rustc 1.84.1 (e71f9a9a9 2025-01-27)
Solana CLI: solana-cli 2.0.26 (src:3dccb3e7; feat:607245837, client:Agave)
Anchor CLI: anchor-cli 0.30.1
Node.js: v23.7.0
Yarn: 1.22.1