RepoPilot

fuellabs / sway

Search fuellabs/sway

GitHub

Get started

Taken from the repository's own files on 24 Oct 2026. RepoPilot has not run these commands.

Prerequisites

The files RepoPilot read do not name a runtime version or package manager.

Commands

No scripts found at the top level of the repository. Check Cargo.toml .

No installation or usage section was found in the README. Read the README

How to start and run it

AI

Written by the model from the saved analysis, not checked against source. Confirm in the README before running anything.

git clone git@github.com:FuelLabs/sway.git
cd sway
rustup default stable
export PATH="${HOME}/.cargo/bin:${PATH}"
cargo build
cargo run --bin forc -- --help

This requires Rust stable installed via rustup (https://www.rust-lang.org/tools/install).

Development build: cargo build from repo root. Run compiler: cargo run --bin forc -- --help. Run tests (inferred from forc-test presence): cargo test or forc test in a Sway project. No Makefile or npm scripts present; all builds go through Cargo.