This article provides instructions for installing Helm on Linux systems, including prerequisites and methods using Snap and APT.
Before installing Helm, ensure you have a working Kubernetes cluster and a correctly configured kubectl utility on your local machine. A valid kubeconfig file containing the proper credentials for your target cluster is essential.
Verify that your Kubernetes setup is operational and that kubectl is set up before proceeding with the Helm installation.
Helm supports Linux, Windows, and macOS environments. This guide focuses on the installation process for Linux systems.
If your Linux distribution supports Snap, you can install Helm using the Snap package manager. Snap’s classic confinement allows Helm unrestricted access to locate your kubeconfig file (typically in your home directory). Execute the following command:
For Debian, Ubuntu, or similar APT-based distributions, follow these steps:
Copy
Ask AI
# Install Helm via Snap with classic confinement (if using Snap)sudo snap install helm --classic# Add the Helm GPG key to verify package authenticitycurl https://baltocdn.com/helm/signing.asc | sudo apt-key add -# Install apt-transport-https to handle HTTPS repositoriessudo apt-get install apt-transport-https --yes# Add the official Helm stable repository to your APT sources listecho "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list# Update APT and install Helmsudo apt-get updatesudo apt-get install helm# Alternatively, on some package-based systems, you might use:pkg install helm
For the most up-to-date installation instructions and additional configuration details, refer to the official Helm documentation.