Substrate

Installing Substrate

This page will help you get started with Substrate. You'll be up and running in a jiffy!

Skip to the End...

If you're running Mac OS, Ubuntu or Arch, then with a good internet connection just run our simple one-liner:

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

This will download and setup everything for you, leaving you with a machine ready to go.

The Full Monty

To install Substrate onto your machine, you'll need to grab Rust and ensure your operating system has up to date OpenSSL 1.0, cmake and a C/C++ compiler. Different operating systems and package managers have different means of doing this; consult your operating system's forums on how to get this done.

Next, install the Substrate command line applications:

cargo install --git https://github.com/paritytech/substrate subkey;
cargo install --git https://github.com/paritytech/substrate substrate

Finally, install the CLI helper scripts from substrate-up:

git clone https://github.com/paritytech/substrate-up;
cp -a substrate-up/substrate-* ~/.cargo/bin;
rm -rf substrate-up

To check Substrate is properly installed, just run substrate --version. You should see something like this:

$ substrate --version
substrate 0.1.0-3378b221-x86_64-macos

If you get that, then you're ready to proceed!