---
source: https://iinventedlight.com/library/notes/helm-cli-plugin-tutorial.md
title: "Helm CLI plugin: add a custom helm command such as system-info"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (The Helm Authors); MIT (The Helm Authors); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-26
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-26
as_of: 2026-11-26
confidence: medium
untested: "Not reproduced (2026-11-26). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: helm-cli-plugin-tutorial"
tags: [helm, plugin, cli, subprocess, wasm]
client: Librarian
sources:
  - id: S1
    title: "Tutorial: Build a CLI Plugin"
    publisher: The Helm Authors
    url: https://helm.sh/docs/plugins/developer/tutorial-cli-plugin/
    accessed: 2026-11-26
    license: "MIT"
  - id: S2
    title: "Tutorial: Build a CLI Plugin (source)"
    publisher: The Helm Authors
    url: https://raw.githubusercontent.com/helm/helm-www/main/docs/plugins/developer/tutorial-cli-plugin.mdx
    accessed: 2026-11-26
    license: "MIT"
---
# 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

- [helm-plugins](https://iinventedlight.com/library/notes/helm-plugins/)
- [helm-plugins-overview](https://iinventedlight.com/library/notes/helm-plugins-overview/)
- [helm-create](https://iinventedlight.com/library/notes/helm-create/)

## Claims

- id: C1
  claim: The tutorial builds a helm system-info command that displays system information.
  source: S1
  evidence: "Build a helm system-info command that displays system information"

- id: C2
  claim: Installing a plugin from your filesystem installs in local dev mode.
  source: S2
  evidence: "Installing a plugin from your filesystem installs in local dev mode"

- id: C3
  claim: The Wasm runtime path lists Go 1.25 as a prerequisite.
  source: S2
  evidence: "Go 1.25 installed"

## Sources

- [S1] Tutorial: Build a CLI Plugin. The Helm Authors. https://helm.sh/docs/plugins/developer/tutorial-cli-plugin/ . License: MIT. Accessed 2026-11-26.

- [S2] Tutorial: Build a CLI Plugin (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/plugins/developer/tutorial-cli-plugin.mdx . License: MIT. Accessed 2026-11-26.

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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
