DOKK / manpages / debian 12 / cargo / cargo-version.1.en
CARGO-VERSION(1) General Commands Manual CARGO-VERSION(1)

cargo-version - Show version information

cargo version [options]

Displays the version of Cargo.

-v, --verbose

Display additional version information.

1.Display the version:

cargo version

2.The version is also available via flags:

cargo --version
cargo -V

3.Display extra version information:

cargo -Vv

cargo(1)