Installation
There are multiple ways to install Agave depending on your preferred workflow:- Use the Solana Install Tool (simplest option)
- Download prebuilt binaries
- Build from source
- Use Homebrew (macOS & Linux)
Quick Install with Solana Install Tool
macOS & Linux
The fastest way to get started is using the Anza release installer:stable with a specific release version or use one of the symbolic channel names: stable, beta, or edge.
Expected output:
After installation, use
agave-install update to easily update to newer versions.Windows
Open Command Prompt as Administrator
Search for Command Prompt in the Windows search bar, right-click, and select “Open as Administrator”.
Download Prebuilt Binaries
If you prefer not to useagave-install, you can manually download and install prebuilt binaries.
Linux
Download the latest release from GitHub releases:macOS
Windows
Downloadsolana-release-x86_64-pc-windows-msvc.tar.bz2 from GitHub releases and extract using WinZip or similar.
Then in Command Prompt:
Build From Source
Building from source gives you the most flexibility and is required if:- Your platform doesn’t have prebuilt binaries
- Your CPU doesn’t support AVX2
- You want to build a release version for production use
- You’re contributing to Agave development
Install Rust toolchain
Install Rust, Cargo, and rustfmt:The
rust-toolchain.toml file in the repository pins a specific Rust version. Cargo will automatically install the correct version if needed.Install system dependencies
System dependencies are required for building Agave. Choose the commands for your operating system.
- Install Build Tools for Visual Studio (2019 or later) with C++ build tools
- Install LLVM
- Install Protocol Buffers compiler and add to PATH
Build Agave
For development (debug build):For production use (release build):This builds optimized binaries and installs them to the
bin directory.Use Homebrew
For macOS and Linux users with Homebrew installed:The Homebrew formula is updated after each Solana release, but may occasionally lag behind the latest version. See the Homebrew formula for details.
Platform Notes
Supported Platforms
- Ubuntu 24.04 (recommended for production)
- Ubuntu 20.04 (prebuilt binaries available, support ending May 2025)
- Fedora / RHEL
- macOS (build from source required)
- Windows (build from source required)