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.
- Download and install VS Code.
- Install the Dev Containers extension from the Extensions sidebar, then follow its prompts to install Docker Desktop.
- Clone the starter repository:
git clone https://github.com/radixdlt/scrypto-starter.git - 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).
- 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"# Download and run the installer from https://rustup.rs
# Choose "Proceed with standard installation"2. Add the WASM Target
Scrypto compiles blueprints to WebAssembly for deterministic execution on the Radix Engine.
rustup target add wasm32-unknown-unknownThe 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 llvmexport 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.0The 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.
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-unknownblst 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 updateVersion 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:
radix-clis1.4.0 was published on 9 September 2026, two days after the Scrypto v1.4.0 (Eagle Ray) release on GitHub, and an unpinnedcargo install radix-clisresolves to it. The release before it, 1.3.1, is of January 2026.- The install scripts set
RADIX_CLI_VERSION=1.3.0alongsideRUST_VERSION=1.92.0, onmainand in the copy taggedv1.4.0alike. Their last commit is of January 2026, before both later releases, although the repository's ownrust-toolchain.tomlcarries a checklist of every place a version bump must land and names those script variables. - The two CLI versions differ at
scrypto new-package, which writes arust-toolchain.tomlinto your project from a bundled template. Under 1.3.0 the template pinschannel = "1.81.0"with no extra components; under 1.4.0 it pinschannel = "1.92.0"withrustfmtandrust-src, as under 1.3.1. The build pipeline introduced in 1.3.1 needsrust-srcto rebuild the Rust standard library with the original (MVP) WebAssembly feature set. - rustup honours that file over the default toolchain and installs the pinned channel on demand. After the install scripts, your default Rust is 1.92.0 and your first package builds on 1.81.0, the pin Scrypto 1.3.1 was released to lift. Installing the CLI as in step 3 avoids this.
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
- Your First Blueprint – write, build, and run a component on the local simulator
