# rustup completions

> Generate shell completions for `rustup` and `cargo`.
> More information: <https://rust-lang.github.io/rustup>.

- Print the completion script to `stdout`:

`rustup completions {{bash|elvish|fish|powershell|zsh}} {{rustup|cargo}}`
