logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
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/solana
or

Install via npx

npx @hexmos/ipm i solana-labs/solana

Prerequisites

rustup

build_tool

Version: latest

cargo

package_manager

Version: 0.14.0

rustfmt

build_tool

Version: v0.2.0

git

system_tool

Version: 2.34.1

curl

system_tool

Version: 7.80.0

openssl-dev

system_package

Version: 1.1.1

libssl-dev

system_package

Version: 1.1.1

libudev-dev

system_package

Version: 1.1.1

pkg-config

system_tool

Version: 2.0.1

zlib1g-dev

system_package

Version: 1.1.1

llvm

build_tool

Version: 12.0.1

cmake

system_tool

Version: 3.24.5

make

system_tool

Version: 4.1.0

protobuf-compiler

system_package

Version: 3.2.0

python

language

Version: 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 rustfmt

Install Dependencies (Ubuntu)

sudo apt-get update

sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make protobuf-compiler

Install Dependencies (Fedora)

sudo dnf install openssl-devel systemd-devel pkg-config zlib-devel llvm clang cmake make protobuf-devel protobuf-compiler perl-core

Build the Project

cargo build

Run Benchmarks

cargo bench

Post 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.