Kubernetes

Helm CLI

Helm commands for Kubernetes package management.

35 commands
Windows MacOS Linux
#package-manager #k8s #Popular

Repository Management

Add a chart repository
helm repo add bitnami https://charts.bitnami.com/bitnami
Update all repository indexes
helm repo update
List configured repositories
helm repo list
Remove a chart repository
helm repo remove bitnami
Search for charts in repositories
helm search repo nginx
Search Artifact Hub for charts
helm search hub wordpress

Chart Operations

Show metadata for a chart
helm show chart bitnami/nginx
Show default values of a chart
helm show values bitnami/nginx
Show the README of a chart
helm show readme bitnami/nginx
Download a chart as a tarball
helm pull bitnami/nginx
Download and extract a chart
helm pull bitnami/nginx --untar
Scaffold a new chart directory
helm create mychart
Package a chart directory into a tarball
helm package mychart/
Validate a chart for errors
helm lint mychart/

Release Management

Install a chart as a release
helm install myrelease bitnami/nginx
Install with custom values file
helm install myrelease bitnami/nginx -f values.yaml
Install with inline value overrides
helm install myrelease bitnami/nginx --set replicaCount=3
Upgrade a release to latest chart
helm upgrade myrelease bitnami/nginx
Roll back a release to revision 1
helm rollback myrelease 1
Uninstall a release
helm uninstall myrelease
List all releases in current namespace
helm list
Show revision history of a release
helm history myrelease

Template & Debug

Render chart templates locally
helm template myrelease bitnami/nginx
helm template myrelease bitnami/nginx -f values.yaml # Render with custom values
Simulate install without applying
helm install myrelease bitnami/nginx --dry-run
Get the rendered manifest of a release
helm get manifest myrelease
Get the computed values of a release
helm get values myrelease
Show the release notes
helm get notes myrelease

Plugin Management

List all installed plugins
helm plugin list
Install a plugin from URL
helm plugin install https://github.com/databus23/helm-diff
Update a specific plugin
helm plugin update diff
Remove a plugin
helm plugin uninstall diff

Quick Commands

Deploy a chart as a named release
helm install myrelease bitnami/nginx
Upgrade a release with custom values
helm upgrade myrelease bitnami/nginx -f values.yaml
List all deployed Helm releases
helm list