Prerequisites
Prepare a computer for Substrate development
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
Fedora
Run these commands from a terminal:
sudo dnf update
sudo dnf install clang curl git openssl-devel
2. Setup Rust Developer Environment
Run this command from a terminal:
curl https://getsubstrate.io -sSf | bash -s -- --fast
Last updated
Was this helpful?