Download Forge

Forge is a command-line compiler. The Community edition is free and requires no account.

Install the compiler

The CLI drives the Rust SDK project, Forge Core, and the target toolchain. Install Rust first, then build the CLI from source.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh git clone https://github.com/zacaw99/Forge.git cd Forge/forge-cli && cargo build --release # place target/release/forge on your PATH

Install the target toolchain

The built-in target lattice/ice40up5k-sg48 uses the open-source FPGA flow. Install your distribution's FPGA toolchain packages, or follow the target setup guide in the docs.

Verify the installation

forge doctor forge target list

forge doctor reports the CLI, Core, Rust, Cargo, and the target tools, and explains how to install anything missing.