Installation
This guide will walk you through installing the RISC Zero toolchain, which includes everything you need to build, prove, and verify zkVM applications.Prerequisites
Install Rust
First, you’ll need Rust installed on your system. If you don’t have it already, install it using rustup:See the official Rust installation guide for more details.
Install rzup
The RISC Zero toolchain is managed byrzup, our toolchain installer. To install rzup, run the following command and follow the instructions:
rzup to your system.
Install the RISC Zero toolchain
Oncerzup is installed, you can install the complete RISC Zero toolchain:
- The RISC Zero Rust toolchain for compiling guest programs
cargo-risczeroCLI tool for managing projects- The necessary components to build and prove zkVM applications
The following pre-built host targets are available:
aarch64-apple-darwin(Apple Silicon macOS)x86_64-unknown-linux-gnu(Linux x86_64)
cargo risczero build-toolchain command to build the toolchain locally.Verify the installation
Verify that the installation was successful by checking the version:Docker (optional)
If you plan to use the deterministic build feature (which ensures consistent ImageIDs across different machines), you’ll need Docker installed:- Developer machines: Install Docker Desktop
- CI/CD: Install the Docker CLI for your platform
Installing from source
If you prefer to installcargo-risczero from local source:
Next steps
Quick start
Build your first zkVM application
cargo risczero
Learn more about the cargo risczero CLI