substrate_

Get started!   ↗
•••

Getting Started

  • Installation
  • Windows Users
  • Glossary

Installation

Fast Installation

Install all the required dependencies with a single command. (Be patient, this can take up to 30 minutes)

curl https://getsubstrate.io -sSf | bash -s -- --fast

Manual Installation

Debian

Run:

sudo apt install -y cmake pkg-config libssl-dev git gcc build-essential clang libclang-dev

MacOS

Install the Homebrew package manager, then run:

brew install openssl cmake llvm

Rust Developer Environment

Substrate uses the Rust programming language. You should install Rust using rustup:

curl https://sh.rustup.rs -sSf | sh

Then make sure that you are using the latest Rust stable by default:

rustup default stable

Wasm Compilation

Substrate uses WebAssembly (Wasm), and you will need to configure your Rust compiler to use nightly to support this build target.

Run the following:

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

Rustup Update

Substrate always uses the latest version of Rust stable and nightly for compilation. To ensure your Rust compiler is always up to date, you should run:

rustup update

This may even solve compilation issues you face when working with Substrate.

theme switch
Fast InstallationManual InstallationRust Developer Environment

substrate_


Seminar
Builders Program
User Settings
Contact

learn

Knowledgebase
Recipes
Rust Docs

community

Substrate Users
Events
Substrate Technical Chat
Stack Overflow

social

GitHub
Twitter
Reddit
YouTube
Parity Technologies © 2021
Terms of Use • Privacy Policy

We use necessary cookies to make our site work. We'd also like to set some optional cookies that help us improve your experience. These can be changed any time from the settings page. View our privacy policy to learn more.

Accept all cookies
Only essential ones