Local Installation

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

  1. 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.1
Surfpool CLI: surfpool 0.12.0
Node.js: v24.10.0
Yarn: 1.22.1
  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

Is this page helpful?

Table of Contents

Edit Page
© 2026 Solana Foundation. All rights reserved.