A Helm CLI plugin that launches the Helm Chart Visualizer web UI directly from your terminal — pass a chart directory, get an interactive graph in your browser.
- One command —
helm viz ./my-chartstarts the server and opens the browser - Chart directory argument — point at any local Helm chart directory
- Port control — choose a custom port with
--port - Smart server detection — if the Visualizer is already running, the plugin reuses it
- Helm ≥ 3.x
- Node.js ≥ 18 and npm ≥ 9
- curl (for server health-checks)
- The Helm Visualizer app (see install below)
git clone https://github.com/unrealandychan/Helm-Visualizer
cd Helm-Visualizer
npm install
helm plugin install ./helm-pluginThe plugin is symlinked into Helm's plugin directory, so the app is found automatically.
helm plugin install https://github.com/unrealandychan/Helm-Visualizer \
--version mainThen tell the plugin where the app lives:
git clone https://github.com/unrealandychan/Helm-Visualizer ~/helm-visualizer
cd ~/helm-visualizer && npm install
export HELM_VISUALIZER_DIR=~/helm-visualizer
# Add the export to your shell profile to make it permanent.helm plugin remove vizhelm viz [CHART_DIR] [flags]
| Argument | Description |
|---|---|
CHART_DIR |
Path to the Helm chart directory (default: current dir) |
| Flag | Description |
|---|---|
-f, --values FILE |
Additional values YAML file to merge on top of values.yaml |
-p, --port PORT |
Port for the local web server (default: 3000) |
--url URL |
Connect to an already-running Visualizer (skip server start) |
--no-open |
Do not open the browser automatically |
-h, --help |
Show help |
| Variable | Description |
|---|---|
HELM_VISUALIZER_DIR |
Path to the Helm Visualizer app root (auto-detected if plugin is installed from the repo) |
HELM_VIZ_PORT |
Default port (same as --port, default: 3000) |
# Visualize the chart in ./my-chart
helm viz ./my-chart
# Use an extra values file
helm viz ./my-chart -f ./my-chart/values.prod.yaml
# Use a custom port
helm viz --port 8080 ./my-chart
# Connect to a Visualizer that is already running
helm viz --url http://localhost:3000 ./my-chart
# Start without opening the browser
helm viz --no-open ./my-chart- Validates the chart directory (checks for
Chart.yaml). - Checks whether the Visualizer server is already running on the target port.
- If yes → opens the browser and exits.
- Locates the Helm Visualizer Next.js app:
HELM_VISUALIZER_DIRenvironment variable- Relative to the plugin directory (auto when installed from the repo)
- Common install paths (
~/Helm-Visualizer, etc.)
- Starts
npm run devin the app directory withHELM_CHART_DIRset to the provided chart path. The Next.js server reads this variable and serves the specified chart instead of the defaulthelm/workspace chart. - Waits up to 30 seconds for the server to respond, then opens the browser.
- Keeps running — press
Ctrl+Cto stop the server.
The plugin could not auto-detect the app directory. Set HELM_VISUALIZER_DIR:
export HELM_VISUALIZER_DIR=/path/to/Helm-VisualizerOr install from the cloned repo (Option A above).
The supplied directory is not a valid Helm chart. Make sure Chart.yaml exists:
ls ./my-chart/Chart.yamlOn first run, npm install may need to download dependencies. Run npm install in the
app directory manually before using the plugin for faster start-up.
Use --port to pick a different port:
helm viz --port 8081 ./my-chartApache 2.0 — see LICENSE.