Developers
FAQRoadmapEcosystemDevelopers
main
main
  • Welcome to Vera
  • Definitions
  • 👋Getting Started
    • Prerequisites
    • Setting Up The Node
    • Interact With The Node
    • Building Smart Contracts
    • Deploying Our PoC
  • Asset Manager
  • Intrest Calculation
  • 🗒️ API References
    • NFT Lending
    • NFT Leasing
    • NFT Exchange
  • 🔗Useful links
    • Website
    • Github
    • Telegram
    • Twitter
Powered by GitBook
On this page
  • Prepare a computer for Substrate development
  • 1. Install build tools & libraries
  • 2. Install Rust toolchain

Was this helpful?

  1. Getting Started

Prerequisites

PreviousDefinitionsNextSetting Up The Node

Last updated 4 years ago

Was this helpful?

Prepare a computer for Substrate development

You can follow the detailed guide from

1. Install build tools & libraries

macOS

# Install Homebrew if necessary https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

# Make sure Homebrew is up-to-date, install openssl
brew update
brew install openssl

Ubuntu/Debian

sudo apt update
# May prompt for location information
sudo apt install -y git clang curl libssl-dev

Arch Linux

Run these commands from a terminal:

pacman -Syu --needed --noconfirm curl git clang
Copy

Fedora

Run these commands from a terminal:

sudo dnf update
sudo dnf install clang curl git openssl-devel

2. Install Rust toolchain

# Install
curl https://sh.rustup.rs -sSf | sh
# Configure
source ~/.cargo/env

Configure the Rust toolchain to default to the latest stable version, add nightly and the nightly wasm target:

rustup default stable
rustup update
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

This guide uses to help manage the Rust toolchain. First, install and configure rustup:

👋
rustup
Substrate Developer Hub.
Substrate_
Logo