# rustup completions > Generate shell completions for `rustup` and `cargo`. > More information: . - Print the completion script to `stdout`: `rustup completions {{bash|elvish|fish|powershell|zsh}} {{rustup|cargo}}`