The cursor blinked, waiting, but nothing happened. You had typed k9s a hundred times this week, yet still fumbled commands you knew by heart. The fix isn’t another cheat sheet. It’s shell completion.
K9s shell completion turns muscle memory into a weapon. Tab once, and the CLI serves the right command. Tab twice, and flags unfold right in front of you. Install it once, and stop wasting energy trying to recall exact syntax. Every deployment, every pod inspection, every namespace switch — faster, cleaner, precise.
To set it up, K9s ships with built-in support for shell completion across Bash, Zsh, and Fish. Run:
k9s completion bash > /etc/bash_completion.d/k9s
k9s completion zsh > "${fpath[1]}/_k9s"
k9s completion fish > ~/.config/fish/completions/k9s.fish
Reload your shell. The change is immediate. Your CLI becomes an extension of your hands. When you type k9s po and hit tab, it becomes k9s pods without thinking. You can explore commands without breaking your workflow.