Skip to main content

Command Palette

Search for a command to run...

Helm Commands Cheat Sheet (DevOps Guide)

Updated
β€’4 min read
Helm Commands Cheat Sheet (DevOps Guide)

Helm is often called the package manager for Kubernetes, but in real DevOps life, it’s much more than that. Helm helps you deploy, upgrade, rollback, version, and manage Kubernetes applications in a repeatable and clean way.

If you’ve ever struggled with long YAML files, environment-specific configs, or rollback nightmares β€” Helm is your best friend.

This blog is a practical Helm command cheat sheet with explanations you can actually remember and use in production or interviews.


What is Helm (Quick Recap)

Helm uses charts (packages of Kubernetes manifests) to deploy applications.

Core Concepts:

Chart β†’ Application package (templates + values)

Release β†’ A running instance of a chart

Values β†’ Configuration for the chart

Repository β†’ Place where charts are stored


πŸ“¦ Repository Management

CommandWhat it does
helm repo add bitnami https://charts.bitnami.com/bitnamiAdd a chart repository
helm repo listList added repositories
helm repo updateFetch latest chart versions

πŸ” Search Charts

CommandWhat it does
helm search repo nginxSearch charts in added repos
helm search hub nginxSearch globally (ArtifactHub)

πŸ—οΈ Chart Creation & Inspection

CommandWhat it does
helm create myappCreate a new Helm chart
helm show chart bitnami/nginxShow chart metadata
helm show values bitnami/nginxShow default values

πŸš€ Install Charts

CommandWhat it does
helm install myapp ./myappInstall local chart
helm install myapp bitnami/nginxInstall from repo
helm install myapp bitnami/nginx -n dev --create-namespaceInstall in namespace
helm install myapp bitnami/nginx -f values.yamlUse custom values
helm install myapp bitnami/nginx --set image.tag=v2Override a value

πŸ”„ Upgrade & Rollback

CommandWhat it does
helm upgrade myapp ./myappUpgrade a release
helm upgrade myapp ./myapp -f prod.yamlUpgrade with new values
helm history myappView release revisions
helm rollback myapp 1Rollback to revision 1

🧹 Uninstall & Cleanup

CommandWhat it does
helm uninstall myappRemove release
helm uninstall myapp -n devRemove from namespace

πŸ“‹ List & Status

CommandWhat it does
helm listList releases in namespace
helm list -AList releases across cluster
helm status myappCheck release health

πŸ§ͺ Debugging & Dry Run

CommandWhat it does
helm install myapp ./myapp --dry-runValidate before deploy
helm install myapp ./myapp --dry-run --debugFull debug output
helm lint ./myappValidate chart syntax

🧩 Template Rendering

CommandWhat it does
helm template myapp ./myappRender manifests locally
helm get manifest myappSee deployed manifests

πŸ” Values & Release Info

CommandWhat it does
helm get values myappGet applied values
helm get all myappGet full release info

βš™οΈ Dependency Management

CommandWhat it does
helm dependency listList chart dependencies
helm dependency updateDownload dependencies

🧠 Best Practices

βœ… Always use --dry-run before production

βœ… Keep environment-specific values files

βœ… Use helm lint for validation

βœ… Prefer helm upgrade --install in CI/CD

βœ… Avoid secrets directly in values.yaml


🧾 Final Thoughts

Helm simplifies Kubernetes deployments only if you understand what each command actually does. Memorizing commands is easy β€” knowing when and why to use them makes you a real DevOps engineer.

Save this cheat sheet, bookmark it, and use it during:

  • CI/CD pipelines

  • Production releases

  • DevOps interviews

If this helped you, feel free to share it with your team or fellow DevOps folks πŸš€