Quick installation
On Mac and Linux, run this single command to install all dependencies:If the quick installation doesn’t work, refer to the Install Dependencies section below for instructions to install each dependency individually.If the quick install succeeds, skip to Solana CLI Basics and Anchor CLI Basics.
Install dependencies
The instructions below guide you through installing each dependency individually.- Windows users: First install WSL (Windows Subsystem for Linux), then install the dependencies specified in the Linux section
- Linux users: First install the dependencies specified in the Linux section below
- Mac users: Start with the Rust installation instructions
Windows Subsystem for Linux (WSL)
To develop Solana programs on Windows, you must use WSL. All additional dependencies must be installed through the Linux terminal. To install WSL, run this command in Windows PowerShell:If you’re using VS Code, the WSL extension enables you to use WSL and VS Code together.