Set up your local Solana development environment with one command. This installs Rust, the Solana CLI, Anchor Framework, Surfpool, Node.js, and Yarn on Windows (WSL), Linux, and Mac.
Prerequisites
Installation
- Enter the following command into your terminal to install all the necessary dependencies:
Terminal
$curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash
A successful installation will return output like the following:
Example output
Installed Versions:Rust: rustc 1.91.1 (ed61e7d7e 2025-11-07)Solana CLI: solana-cli 3.0.10 (src:96c3a851; feat:3604001754, client:Agave)Anchor CLI: anchor-cli 0.32.1Surfpool CLI: surfpool 0.12.0Node.js: v24.10.0Yarn: 1.22.1
- Verify a successful installation by checking the version of each installed dependency.
Terminal
$rustc --version && solana --version && anchor --version && surfpool --version && node --version && yarn --version
If the installation command fails, install each dependency individually.
Local development resources
Install Dependencies
Install each tool individually or troubleshoot the one-command installer.
Solana CLI Basics
Configure clusters, manage keypairs, and use common Solana CLI commands.
Anchor CLI Basics
Create, build, test, and deploy Anchor projects.
Surfpool CLI Basics
Run a local validator and inspect it with Surfpool Studio.
Is this page helpful?