Skip to main content


The proto completions command will generate proto command and argument completions for your current shell. This command will write to stdout, which can then be redirected to a file of your choice.

$ proto completions > ./path/to/write/to


  • --shell - Shell to explicitly generate for. Accepts "bash", "elvish", "fish", "powershell", or "zsh".


If using bash-completion.

$ proto completions > ~/.bash_completion.d/

Otherwise write the file to a common location, and source it in your profile.

$ proto completions > ~/.bash_completions/

# In your profile
source ~/.bash_completions/