Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

The Cambrian transpiler is open source (GPL-3.0-only) and lives in the cambrian-lang repository. Download a prebuilt binary or build it with the standard Rust toolchain; then you can transpile .cam programs to the targets evm and lean.

Steps

  1. Prerequisites — Rust via rustup (only to build from source); optional Foundry and Lean 4 + Lake for EVM / Lean targets.
  2. Building from Source — download a prebuilt binary, or clone cambrian-lang and run cargo build --release -p cambrian-transpiler; put cambrian-transpiler on your PATH.

Once the binary works, continue with the Quick Start.