Prerequisites

Prepare a computer for Substrate development

You can follow the detailed guide from Substrate Developer Hub.

1. Install build tools & libraries

macOS

Ubuntu/Debian

Arch Linux

Run these commands from a terminal:

Fedora

Run these commands from a terminal:

2. Install Rust toolchain

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

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

Last updated

Was this helpful?