Helm is the package manager for Kubernetes. It helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.
Before installing Helm, ensure you have the following:
- A working Kubernetes cluster.
kubectlconfigured to connect to your Kubernetes cluster.
There are several ways to install Helm. The most common methods are via script or a package manager.
This is the easiest way to get Helm up and running on Linux or macOS.
-
Download the installation script:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
-
Make the script executable:
chmod 700 get_helm.sh
-
Run the script:
./get_helm.sh
This script will download the latest stable Helm version and install it in your system.
If you are on macOS, you can use Homebrew:
brew install helm-
Download the desired version:
Visit the Helm releases page and download the binary release for your operating system and architecture. For example, for Linux AMD64:
wget https://get.helm.sh/helm-v3.14.2-linux-amd64.tar.gz tar -zxvf helm-v3.14.2-linux-amd64.tar.gz
-
Move the Helm binary to your executable path:
sudo mv linux-amd64/helm /usr/local/bin/helm
After installation, verify that Helm is installed correctly by checking its version:
helm versionYou should see output similar to:
version.BuildInfo{Version:"v3.14.2", GitCommit:"2a781a965037e07167037b7b546896686a775178", GitTreeState:"clean", GoVersion:"go1.21.7"}
helm install: Install a chart.helm upgrade: Upgrade a release.helm uninstall: Uninstall a release.helm list: List releases.helm search repo: Search for charts in configured repositories.helm repo add: Add a chart repository.helm repo update: Update information of available charts from chart repositories.
For more detailed information and advanced usage, refer to the official Helm documentation.