Overview

This guide installs what you need to build Scrypto packages: the Rust toolchain, the WebAssembly (WASM) compilation target and the Radix command-line tools. Scrypto is Radix's Rust SDK: a crate, a set of macros and a CLI that compile a blueprint crate to WebAssembly, the bytecode the Radix Engine runs.

There are three ways in: a VS Code Dev Container with the tools preinstalled, the official install scripts, or steps 1–4 by hand. They do not all install the same version of the CLI tools; Version Pins at the end of this page sets out which you get.

VS Code Dev Container

The official Scrypto Starter repository ships a VS Code Dev Container, a Docker image with the Scrypto tools preinstalled, so nothing is installed on your own machine. The image it names, radixdlt/scrypto-dev-container:rc2, was built in January 2025, before Scrypto 1.3.1 and 1.4.0; check its CLI version with scrypto --version once it is running.

  1. Download and install VS Code.
  2. Install the Dev Containers extension from the Extensions sidebar, then follow its prompts to install Docker Desktop.
  3. Clone the starter repository:
    git clone https://github.com/radixdlt/scrypto-starter.git
  4. Open the folder in VS Code (File > Open Folder). When prompted, choose Reopen in Container, or run Dev Containers: Reopen in Container from the Command Palette (View > Command Palette).
  5. Once the container finishes building, confirm the Radix Engine Simulator is ready:
    resim --help

If that works, go on to Your First Blueprint.

Official Install Scripts

The Scrypto repository ships install scripts for macOS, Debian/Ubuntu and Windows that install Rust, the WASM target, LLVM 21 and the Radix CLI tools in one step, each at a version written in the script's header. The CLI version they pin is older than the one steps 1–4 install; read Version Pins before you choose.

1. Install Rust

Install Rust with rustup, the Rust toolchain installer. Scrypto declares no minimum Rust version; instead each Scrypto package pins a toolchain in its own rust-toolchain.toml, and rustup installs that version on demand. Version Pins lists which version that is.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"

2. Add the WASM Target

Scrypto compiles blueprints to WebAssembly for deterministic execution on the Radix Engine.

rustup target add wasm32-unknown-unknown

The Other WASM Target

Rust is not the only compiler in the chain. Scrypto's cryptography pulls in blst, a C library for BLS signatures, which Cargo builds with the system C compiler. Apple's clang has no wasm32 backend, so scrypto build stops on a fresh macOS install:

error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'

The install scripts avoid this by installing LLVM. By hand, install LLVM and point Cargo at it:

brew install llvm
export CC_wasm32_unknown_unknown="$(brew --prefix llvm)/bin/clang"
export AR_wasm32_unknown_unknown="$(brew --prefix llvm)/bin/llvm-ar"

Add both exports to your shell profile. brew --prefix resolves the location on Apple Silicon and Intel alike.

3. Install Radix CLI Tools

The radix-clis crate provides scrypto (compiler), resim (local simulator) and rtmc (manifest compiler).

cargo install --force radix-clis@1.4.0

The version is written out because the install scripts pin an older one; see Version Pins.

Build time

The first install compiles from source and can take several minutes. Later installs are faster.

4. Verify

rustc --version
scrypto --version
resim --version

All three commands should print version numbers without errors.

IDE Setup

Install VS Code with the rust-analyzer extension for inline type hints, autocompletion and error checking in Scrypto code.

Troubleshooting

Missing WASM target

If Rust reports wasm32-unknown-unknown target not found, re-run:

rustup target add wasm32-unknown-unknown

blst fails to build

One error names the same triple and takes a different fix:

No available targets are compatible with triple "wasm32-unknown-unknown"

The C compiler raises this one, not Rust, so rustup target add will not clear it. Set the two compiler variables from The Other WASM Target above.

Outdated toolchain

If builds fail on a fresh install, update Rust:

rustup update

Version Pins: Which radix-clis You Get

The install scripts and steps 1–4 install different versions of the CLI tools, and nothing warns you. Checked against the sources on 25 November 2026:

The official install and compatibility page still documents Rust 1.81.0 and radix-clis@1.3.0. The documentation has no page for 1.4.0 (docs.radixdlt.com/docs/scrypto-v1-4-0 answers HTTP 404), and its v1.3.1 page reads "Content to be added." The GitHub release body is licence boilerplate with no notes, and the Radix blog names neither the release nor Eagle Ray. The diff from 1.3.1 holds 18 commits, among them the Eagle Ray receiver-access check that Mainnet now enforces.

crates.io shows most installs still on 1.3.0: under 50 downloads of 1.4.0, against about 4,900 of 1.3.0.

Next Steps