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
| Command | What it does |
helm repo add bitnami https://charts.bitnami.com/bitnami | Add a chart repository |
helm repo list | List added repositories |
helm repo update | Fetch latest chart versions |
π Search Charts
| Command | What it does |
helm search repo nginx | Search charts in added repos |
helm search hub nginx | Search globally (ArtifactHub) |
ποΈ Chart Creation & Inspection
| Command | What it does |
helm create myapp | Create a new Helm chart |
helm show chart bitnami/nginx | Show chart metadata |
helm show values bitnami/nginx | Show default values |
π Install Charts
| Command | What it does |
helm install myapp ./myapp | Install local chart |
helm install myapp bitnami/nginx | Install from repo |
helm install myapp bitnami/nginx -n dev --create-namespace | Install in namespace |
helm install myapp bitnami/nginx -f values.yaml | Use custom values |
helm install myapp bitnami/nginx --set image.tag=v2 | Override a value |
π Upgrade & Rollback
| Command | What it does |
helm upgrade myapp ./myapp | Upgrade a release |
helm upgrade myapp ./myapp -f prod.yaml | Upgrade with new values |
helm history myapp | View release revisions |
helm rollback myapp 1 | Rollback to revision 1 |
π§Ή Uninstall & Cleanup
| Command | What it does |
helm uninstall myapp | Remove release |
helm uninstall myapp -n dev | Remove from namespace |
π List & Status
| Command | What it does |
helm list | List releases in namespace |
helm list -A | List releases across cluster |
helm status myapp | Check release health |
π§ͺ Debugging & Dry Run
| Command | What it does |
helm install myapp ./myapp --dry-run | Validate before deploy |
helm install myapp ./myapp --dry-run --debug | Full debug output |
helm lint ./myapp | Validate chart syntax |
π§© Template Rendering
| Command | What it does |
helm template myapp ./myapp | Render manifests locally |
helm get manifest myapp | See deployed manifests |
π Values & Release Info
| Command | What it does |
helm get values myapp | Get applied values |
helm get all myapp | Get full release info |
βοΈ Dependency Management
| Command | What it does |
helm dependency list | List chart dependencies |
helm dependency update | Download 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 π


