CARGO-HELP(1) General Commands Manual CARGO-HELP(1)

# [NAME](#NAME)

cargo-help — Get help for a Cargo command

# [SYNOPSIS](#SYNOPSIS)

**cargo help** \[*subcommand*]

# [DESCRIPTION](#DESCRIPTION)

Prints a help message for the given command.

# [EXAMPLES](#EXAMPLES)

1.Get help for a command:

```
cargo help build
```

2.Help is also available with the **--help** flag:

```
cargo build --help
```

# [SEE ALSO](#SEE_ALSO)

[**cargo**(1)](/man/enterprise-packages/rust-1.88/cargo.1)

---

Document: cargo-help(1) from rust-1.88 1.88.0-r4 (Chainguard OS)
