Toolchain Setup Checklist
Get from zero to cargo test green in under an hour on macOS, Linux, or WSL2.
Search across all documentation pages
Get from zero to cargo test green in under an hour on macOS, Linux, or WSL2.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource ~/.cargo/envcd to project root (reads rust-toolchain.toml if present)rustc --version shows 1.97.0 (or repo MSRV)rustup component add rustfmt clippy rust-analyzergit clone ... and cd into workspace rootcargo fetchcargo test (set SQLX_OFFLINE=true if .sqlx/ committed)cargo clippy --all-targets -- -D warningscargo fmt --all -- --checkCargo.tomlrg, fd, bat per Rust-based CLI toolssqlx crate)gh auth login for PR workflowrustc --version
cargo test -q
cargo clippy -- -D warnings
cargo fmt --all -- --checkAll four must pass before requesting first review assignment.
Install rustup inside Linux distro; edit files in Linux filesystem for performance.
Default aarch64-apple-darwin target; add Linux GNU target only if cross-building.
Stack versions: This page was written for Rust 1.97.0 (edition 2024), Tokio 1.x, Axum 0.8, serde 1.0, sqlx 0.8, clap 4, and Polars 0.46+.
Reviewed by Chris St. John·Last updated Jul 16, 2026