Scrypto documentation has moved!

All Scrypto documentation has moved to the Babylon documentation site.

This page has been preserved so as not to break existing links out in the world, but its content is no longer being updated.

Please switch to the Babylon-specific site.

Install the Scrypto Toolchain

To begin working with Scrypto, you need to prepare your system for Rust development, and then install the Scrypto libraries, simulator, commandline tools from the Scrypto GitHub repo.

  1. Install Rust compiler

    • On Windows:

    • On macOS:

      • Make sure you have the xcode command line tools by running:

        xcode-select --install
      • Install cmake

        brew install cmake
      • Install Rust compiler

        curl --proto '=https' --tlsv1.2 -sSf | sh
    • On Linux:

      • Make sure a C++ compiler and LLVM is installed:

        sudo apt install clang build-essential llvm
      • Install Rust compiler

        curl --proto '=https' --tlsv1.2 -sSf | sh
  2. Enable cargo in the current shell:

    • On Windows:

      • Start a new PowerShell

    • On Linux or macOS:

      source $HOME/.cargo/env
  3. Add WebAssembly target:

    rustup target add wasm32-unknown-unknown
  4. Install simulator and command-line tools:

    git clone
    cd radixdlt-scrypto
    cargo install --path ./simulator

    If you encounter problems when installing the simulator, make sure that you’re running the latest stable version of Rust before trying again!

    rustup update stable