Skip to main content

Welcome to the Helm Commands Cheatsheet

Helm is a powerful package manager for Kubernetes, allowing you to define, install, and manage Kubernetes applications. This cheatsheet provides a quick reference to common Helm commands and their usage.

Table of Contents​


Installing Helm​

To install Helm, follow the official installation guide:

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash  

Verify the installation:​

helm version

This should display the version of Helm installed on your system.

Basic Commands​

Initialize Helm (v2 only):​

helm init

Check Helm version:​

helm version

List all installed releases:​

helm list

Install a chart:​

helm install <release-name> <chart-name>

Uninstall a release:​

helm uninstall <release-name>

Working with Charts​

Search for charts:​

helm search repo <chart-name>

Install a chart with custom values:​

helm install <release-name> <chart-name> -f <values-file.yaml>

Upgrade a release:​

helm upgrade <release-name> <chart-name>

Rollback a release:​

helm rollback <release-name> <revision>

Get release information:​

helm get all <release-name>

Template a chart:​

helm template <chart-name> -f <values-file.yaml>

Lint a chart:​

helm lint <chart-name>

Package a chart:​

helm package <chart-name>

Push a chart to a repository:​

helm push <chart-name> <repository>

Pull a chart from a repository:​

helm pull <repository>/<chart-name>

Delete a chart:​

helm delete <chart-name>

Show chart information:​

helm show <chart-name>

Helm Repositories​

Add a repository:​

helm repo add <repo-name> <repo-url>

Update repositories:​

helm repo update

List all repositories:​

helm repo list

Remove a repository:​

helm repo remove <repo-name>