Prerequisites
- A Linux host (x86_64 or aarch64 typical)
- Network access for the first toolchain install and crate fetch
- A linker (
cc/ld) available for linking Rust binaries
1. Install rusty
Obtain arusty binary for your machine and put it on PATH. See Install for current distribution options.
$RUSTY_HOME (default ~/.rusty).
2. Install a toolchain
Default installs include rustc + rust-std only (no cargo):rusty env use:
rustc, rustdoc, rustfmt, and related tools are hardlinked shims that dispatch to the active toolchain. cargo is not installed or shimmed by default.
3. Create a project
Interactive (TTY) or fully flagged:
Project metadata and caches land in
.rusty/ (including .rusty/format).
4. Lock and fetch
- Lock writes
rusty.lockorCargo.lockdepending on project format. - Fetch resolves (if needed) and ingests crates into the content-addressable store.
5. Build and test
6. Day-to-day commands
rusty.json:
Existing Cargo workspace?
You do not have to rewrite everything on day one:- Point rusty at the tree (detects
Cargo.toml/ cargo-format). - Use native lock/fetch/add where supported.
- When ready:
rusty migrateto convert torusty.json+rusty.lock.
Next
- Project formats — rusty vs cargo layout
- Build and test — flags, affected builds, scripts
- CLI reference — full command map