All posts

AWS CLI Shell Completion: Stop Typing, Start Tab-Completing

You install a tool, you know it has dozens of commands, hundreds of flags, but you keep typing them out like it’s 1998. AWS CLI shell completion takes that pain away. It’s faster, less error-prone, and makes you feel like the interface is built for you, not the other way around. Setting it up takes a few lines. The AWS CLI already supports command and parameter auto-completion in bash, zsh, and fish. All you have to do is enable it in your shell profile. For bash: complete -C '/usr/local/bin/a

Free White Paper

AWS IAM Policies + CLI Authentication Patterns: The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

You install a tool, you know it has dozens of commands, hundreds of flags, but you keep typing them out like it’s 1998. AWS CLI shell completion takes that pain away. It’s faster, less error-prone, and makes you feel like the interface is built for you, not the other way around.

Setting it up takes a few lines. The AWS CLI already supports command and parameter auto-completion in bash, zsh, and fish. All you have to do is enable it in your shell profile. For bash:

complete -C '/usr/local/bin/aws_completer' aws

Make sure aws_completer is in your path. Reload your terminal or source your profile file. Now type aws s3 and hit tab. You’ll see every subcommand without having to remember them. Same for --flags. No need to hit the docs every five minutes.

For zsh, it’s even easier. Load the built-in completion scripts:

Continue reading? Get the full guide.

AWS IAM Policies + CLI Authentication Patterns: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.
autoload -Uz compinit && compinit
autoload -Uz bashcompinit && bashcompinit
complete -C '/usr/local/bin/aws_completer' aws

Fish works too:

complete -c aws -f -a "(begin; set -lx COMP_LINE (commandline); set -lx COMP_POINT (commandline -C); aws_completer; end)"

Small tweaks here can save hours. Teams that don’t set up shell completion move slower without realizing it. They also make more mistakes—typos, wrong parameters, unnecessary retries. AWS CLI shell completion fixes this with zero downside.

It’s not just speed. It builds muscle memory. You discover commands you didn’t know existed. You stop searching Stack Overflow for the same parameter string over and over. The CLI becomes a tool you command, not something you tiptoe around.

The AWS CLI is huge, and the more services you touch, the more your context switches. Shell completion removes the mental overhead. You hit tab. You move forward. You get back to shipping.

If you want to see this kind of productivity boost in a live setup fast, check out hoop.dev. It makes the same jump in experience—your workflow unlocked in minutes.

Get started

See hoop.dev in action

One gateway for every database, container, and AI agent. Deploy in minutes.

Get a demoMore posts