0Pricing
Helm Academy · Lesson

Enabling Shell Completion and Help

Autocomplete and the built-in help system for fast work.

Enabling Shell Completion and Help is a free Helm Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Helm Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

Type Less, Remember Less

Helm ships built-in shell completion and a rich help system. Together they let you discover commands and flags without memorizing anything.

The completion Command

The helm completion command generates a script for your shell. It supports bash, zsh, fish, and PowerShell out of the box.

helm completion --help

Bash Completion

For bash, source the generated script in your .bashrc so completion loads every time you open a shell.

source <(helm completion bash)

Zsh Completion

Zsh users do the same with the zsh subcommand. Add it to your .zshrc, or write it into a directory on your fpath for faster startup.

source <(helm completion zsh)

Completion Knows Live Data

Helm completion is smart: pressing Tab after helm upgrade can suggest actual release names from your cluster, not just static command words.

The --help Flag

Append --help to any command to see its purpose, flags, and examples. It works at every level, from helm to deep subcommands.

helm install --help

Browsing Top-Level Help

Running helm help with no command lists every available subcommand. It is your map when you forget what Helm can do.

helm help

Help on a Specific Command

You can also pass a command to help, like helm help upgrade. It is the same text as upgrade --help, just phrased the other way.

helm help upgrade

Reading the Flag List

Each help page splits flags into command flags and global flags. Global ones like --namespace and --kube-context apply to almost every command.

Discover Plugins Too

Help even surfaces installed plugins. Once added, they appear in helm help as if they were native subcommands, fully discoverable.

Persist Completion Across Sessions

Sourcing completion lasts only for the current shell. To keep it, write the generated script into your shell's profile so it loads on every login.

helm completion bash > /etc/bash_completion.d/helm

Quick Check

You forget the flags for an upgrade and want them instantly.

Recap

Enable helm completion for your shell to tab through commands and releases, and lean on --help or helm help to learn any command fast. 🚀

Frequently asked questions

Is the “Enabling Shell Completion and Help” lesson free?

Yes — the full text of “Enabling Shell Completion and Help” is free to read here on the web, and the Helm Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Helm Academy course, upgrade to CoddyKit PRO.

What will I learn in “Enabling Shell Completion and Help”?

Autocomplete and the built-in help system for fast work. You practise Helm Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start Helm Academy?

No prior experience is required. Helm Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Enabling Shell Completion and Help” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this Helm Academy lesson?

Yes. Every Helm Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. Install the Helm CLI on Your OS
  2. How Helm Finds Your Cluster via kubeconfig
  3. helm version and helm env Sanity Checks
  4. Enabling Shell Completion and Help
← Back to Helm Academy