Install from Release
The recommended method is to install pre-built binaries from the official release:solana- Main CLI toolsolana-keygen- Keypair managementsolana-validator- Validator software (optional)
Install Specific Version
To install a specific version:Update Existing Installation
Update to the latest version:Build from Source
For development or custom builds:Prerequisites
Clone and Build
Install System-Wide
Docker Installation
Run CLI tools in a Docker container:Verify Installation
Confirm the CLI is installed correctly:Initial Configuration
After installation, configure the CLI:Environment Variables
Optional environment variables:Uninstall
Remove installed binaries:Troubleshooting
Command Not Found
Ifsolana is not in your PATH:
Permission Denied
If you get permission errors:SSL Certificate Errors
If you encounter SSL issues:Next Steps
Wallet Management
Generate and manage keypairs
Cluster Queries
Query blockchain information