Helm Commands

helm commands cheatsheet.

Install, upgrade, roll back and inspect — the Helm commands you reach for managing charts and releases. Tap to copy.

Install & upgrade
helm install <name> <chart>Install a chart as a named release
helm upgrade <name> <chart>Upgrade a release to a new chart or values
helm upgrade --install <name> <chart>Install if absent, otherwise upgrade
helm uninstall <name>Uninstall a release and remove its resources
helm rollback <name> <revision>Roll a release back to a previous revision
Repositories
helm repo add <name> <url>Add a chart repository
helm repo updateRefresh the local cache of chart repos
helm repo listList configured chart repositories
helm search repo <keyword>Search added repos for a chart
helm search hub <keyword>Search Artifact Hub for charts
Releases
helm listList releases in the current namespace
helm list -AList releases across all namespaces
helm status <name>Show the status of a release
helm history <name>Show the revision history of a release
helm get values <name>Show the user-supplied values for a release
Charts
helm create <name>Scaffold a new chart directory
helm lint <chart>Check a chart for possible issues
helm package <chart>Package a chart into a .tgz archive
helm template <chart>Render chart templates locally as YAML
helm show values <chart>Print a chart's default values
Values & inspect
helm install <name> <chart> -f values.yamlInstall with values from a file
helm install <name> <chart> --set key=valueOverride a value on the command line
helm install --dry-run --debugRender and preview without installing

The everyday Helm loop

Helm packages Kubernetes manifests into charts and tracks each deployment as a named release. Day to day it comes down to a few verbs. helm install deploys a chart under a release name, helm upgrade applies new values or a new chart version to that release, and helm list shows what's currently deployed. The one command worth burning into muscle memory is helm upgrade --install: it installs the release if it's missing and upgrades it if it exists, so the same line is safe to run from a script or a pipeline every time.

Repos, charts and values

Charts usually live in repositories. helm repo add <name> <url> registers one and helm repo update refreshes the local index so you see the latest versions. Every chart ships defaults you can inspect with helm show values <chart>, then override at install time — either from a file with -f values.yaml or inline with --set key=value. When in doubt about what a chart will actually create, helm template <chart> renders the manifests locally without touching the cluster.

Inspect before you change state

Because Helm keeps a revision history, mistakes are recoverable — but it's still worth looking before you leap. helm history <name> lists every revision of a release and helm rollback <name> <revision> returns it to a known-good one. Add --dry-run --debug to an install or upgrade to render and print exactly what would be applied first. These pair naturally with the kubectl, Docker and cloud CLI commands.

FAQ

How do I install and upgrade a release in one command with Helm?
Run helm upgrade --install with a release name and chart — it installs the release if it doesn't exist and upgrades it if it does, so the same command is safe to re-run.
How do I preview what Helm will apply without changing the cluster?
Add --dry-run --debug to helm install or helm upgrade to render the manifests and print them without touching the cluster, or use helm template to render a chart locally.

More cheatsheets