Skip to content

Latest commit

 

History

History
91 lines (60 loc) · 1.6 KB

Setup.md

File metadata and controls

91 lines (60 loc) · 1.6 KB

Manual Setup Guide for School of Solana

This guide will walk you through setting up your environment for the School of Solana if you prefer not to use the provided Docker image. Follow the steps below to install all the necessary tools and dependencies.

System Requirements

  • WSL 2.0 with Ubuntu 20.04 distro or
  • standalone Ubuntu 20.04

Tip

Install WSL 2.0 You can check this guide Install WSL 2.0

1. Install System Dependencies

Update your package list and install the required packages:

sudo apt-get update
sudo apt-get install -y \
    curl \
    git \
    build-essential \
    pkg-config \
    npm \
    vim \
    nano \
    wget \

2. Install Rust

Install Rust using the Install Rust

Set the default version:

rustup install 1.79.0
rustup default 1.79.0

Verify the installation:

rustc --version
cargo --version

3. Install Solana CLI

Install Solana CLI using the Install the Solana CLI

Set the default version:

solana-install init 1.18.18

Verify the installation:

solana --versions

4. Install Node.js and Yarn

Install Node.js and Yarn for managing JavaScript dependencies:

npm install --global yarn

5. Install Anchor CLI

Install Anchor Framework using the Anchor Installation

Set the default version:

avm install 0.30.1
avm use 0.30.1

Verify the installation:

anchor --version