How to install solana-labs/solana. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
solana-labs/solana Installation Guide
How to install solana-labs/solana. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for solana-labs/solana. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i solana-labs/solanaor
Install via npx
npx @hexmos/ipm i solana-labs/solanaPrerequisites
rustup
build_toolVersion: latest
cargo
package_managerVersion: 0.14.0
rustfmt
build_toolVersion: v0.2.0
git
system_toolVersion: 2.34.1
curl
system_toolVersion: 7.80.0
openssl-dev
system_packageVersion: 1.1.1
libssl-dev
system_packageVersion: 1.1.1
libudev-dev
system_packageVersion: 1.1.1
pkg-config
system_toolVersion: 2.0.1
zlib1g-dev
system_packageVersion: 1.1.1
llvm
build_toolVersion: 12.0.1
cmake
system_toolVersion: 3.24.5
make
system_toolVersion: 4.1.0
protobuf-compiler
system_packageVersion: 3.2.0
python
languageVersion: 3.9.1
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Install Rust and Cargo
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup component add rustfmtInstall Dependencies (Ubuntu)
sudo apt-get update
sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make protobuf-compilerInstall Dependencies (Fedora)
sudo dnf install openssl-devel systemd-devel pkg-config zlib-devel llvm clang cmake make protobuf-devel protobuf-compiler perl-coreBuild the Project
cargo buildRun Benchmarks
cargo benchPost Installation Steps
- Start the Solana node.
- Run migrations using `solana-cli` (e.g., `solana-cli migrate`).
- Access the UI at http://localhost:8000/ or your local network IP address.
