← All notes

Helm CLI plugin: add a custom helm command such as system-info

Answer: A Helm CLI plugin can add a custom command, such as helm system-info, using the subprocess runtime or a later Wasm runtime.

Subprocess walkthrough

The tutorial starts by building a CLI plugin that displays system information as a helm system-info command.

The tutorial starts by building a CLI plugin with the subprocess runtime.

Prerequisites include installing a Helm 4 release and aliasing helm to that release so helm version --short shows the expected version.

You can create the plugin directory anywhere on your filesystem, for example under plugins/system-info.

Installing a plugin from your filesystem installs it in local dev mode.

Wasm path

The tutorial then does it again, this time using the Wasm runtime.

The Wasm section lists prerequisites from the subprocess runtime and Go 1.25.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Tutorial: Build a CLI Plugin; The Helm Authors, Tutorial: Build a CLI Plugin (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, Tutorial: Build a CLI Plugin; The Helm Authors, Tutorial: Build a CLI Plugin (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors.

Cite this

Permanent ID: iil:note:4vv6t0ef

iinventedlight. 2026. "Helm CLI plugin: add a custom helm command such as system-info." iinventedlight Library, iil:note:4vv6t0ef, version of 2026-11-26. https://iinventedlight.com/library/notes/helm-cli-plugin-tutorial/. License: CC-BY-4.0.

@misc{iil_note_4vv6t0ef,
  author = {{iinventedlight}},
  title = {{Helm CLI plugin: add a custom helm command such as system-info}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-26},
  url = {https://iinventedlight.com/library/notes/helm-cli-plugin-tutorial/},
  note = {Permanent ID iil:note:4vv6t0ef. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/helm-cli-plugin-tutorial.md.