Rust CLI Cheat Sheet/Show help for a subcommand

Read options for a specific command.

Section: Help and discovery

Show help for a subcommand

bash
bash
cargo help build
Explanation

Equivalent to the command-specific manual page for build.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Help and discovery
Show Cargo help
Display top-level help for Cargo.
OpenIn sheetbashsame section
Find installed tool executable
Show where an executable resolves from.
OpenIn sheetbashsame section
Show active rustup state
Display installed toolchains, defaults, and active host.
OpenIn sheetbashsame section
Create a new binary crate
Generate a new package for an executable.
OpenIn sheetbash1 tag match
Minimal package manifest
Define package metadata and edition.
OpenIn sheettoml1 tag match
Create a new library crate
Generate a reusable library package.
OpenIn sheetbash1 tag match