How to Install Helm on Windows, Mac, and Linux

Helm helps with Kubernetes application deployment and management. It's essential for quick installation of Tracardi, allowing us to deploy the entire stack with minimal commands.

How to Install Helm on Windows, Mac, and Linux
Photo by Avi Richards / Unsplash

This guide covers Helm installation on Windows, Mac, and Linux, preparing you for a streamlined Tracardi deployment process.

Why we need helm ?

Helm helps with Kubernetes application deployment and management. It's essential for quick installation of Tracardi, allowing us to deploy the entire stack with minimal commands. By using Helm charts, we can quickly set up Tracardi and its dependencies on our Kubernetes cluster, avoiding the complexity of manual resource configuration.

Installing Helm on Windows

There are several methods to install Helm on Windows. We'll cover two popular options: using Chocolatey and manual installation.

Option 1: Using Chocolatey

  1. If you don't have Chocolatey installed, follow the installation instructions on the Chocolatey website.

Once Chocolatey is installed, open a PowerShell window as administrator and run:

choco install kubernetes-helm

Option 2: Manual Installation

  1. Visit the Helm Releases page on GitHub.
  2. Download the latest Windows release (usually a file named something like helm-v3.x.x-windows-amd64.zip).
  3. Extract the zip file.
  4. Move the helm.exe file to a directory in your PATH (e.g., C:\Windows\system32).

Installing Helm on Mac

For Mac users, we'll cover installation using Homebrew and manual installation.

Option 1: Using Homebrew

  1. If you don't have Homebrew installed, follow the installation instructions on the Homebrew website.

Once Homebrew is installed, open a terminal and run:

brew install helm

Option 2: Manual Installation

  1. Visit the Helm Releases page on GitHub.
  2. Download the latest macOS release (usually a file named something like helm-v3.x.x-darwin-amd64.tar.gz).

Move the helm binary to a directory in your PATH:

sudo mv darwin-amd64/helm /usr/local/bin/helm

Extract the tar.gz file:

tar -zxvf helm-v3.x.x-darwin-amd64.tar.gz

Installing Helm on Linux

For Linux users, we'll cover installation using package managers and manual installation.

Option 1: Using Package Managers

For Ubuntu/Debian:

curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm

For CentOS/RHEL:

sudo dnf install helm

Option 2: Manual Installation

  1. Visit the Helm Releases page on GitHub.
  2. Download the latest Linux release (usually a file named something like helm-v3.x.x-linux-amd64.tar.gz).

Move the helm binary to a directory in your PATH:

sudo mv linux-amd64/helm /usr/local/bin/helm

Extract the tar.gz file:

tar -zxvf helm-v3.x.x-linux-amd64.tar.gz

Verifying the Installation

After installing Helm, verify the installation by opening a new terminal or command prompt and running:

helm version

This should display the version of Helm you've installed.

Conclusion

You've now successfully installed Helm on your system, whether you're using Windows, Mac, or Linux. With Helm installed, you're ready to start managing Kubernetes applications more efficiently. Remember to keep Helm updated to benefit from the latest features and security patches. Happy Helming!

Image by: Image by DC Studio on Freepik