Solana DocumentationGetting Started

Quick Installation

A quick installation to set up your local Solana development environment with one command. Install Rust, the Solana CLI, and Anchor Framework on Windows (WSL), Linux, and Mac. (If preferred, you may install each dependency individually.)

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:

Installed Versions:
Rust: rustc 1.86.0 (05f9846f8 2025-03-31)
Solana CLI: solana-cli 2.2.12 (src:0315eb6a; feat:1522022101, client:Agave)
Anchor CLI: anchor-cli 0.31.1
Node.js: v23.11.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 && node --version && yarn --version

If the quick installation command fails, please refer to the Install Dependencies section below for instructions to install each dependency individually.

Next steps

Once you have installed all the necessary dependencies, you are ready to review the Solana CLI Basics and Anchor CLI Basics.

Is this page helpful?

सामग्री तालिका

पृष्ठ संपादित करें
Install the Solana CLI and Anchor with one command | Solana