This quick guide will get helm installed on your Ubuntu machine using the apt package manager. If you prefer an even faster approach there is a helm installation bash script at the bottom of this page you’re welcome to use. It’s possible to download the helm binary directly, but I prefer using a package manager as it makes it easier to upgrade versions in the future. As a result this guide will install helm using the apt package manager.
Note: This should work on Ubuntu 16.04, Ubuntu 18.04, and Ubuntu 20.04
Install Helm step by step
- Add the key.
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
2. Ensure the prerequisite packages are installed.
sudo apt-get install apt-transport-https --yes
3. Add the helm repository as an apt source.
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
4. Run an apt update to sync the sources list.
sudo apt update
5. Install Helm with apt.
sudo apt install -y helm
You should now be able to verify that helm is installed by checking it’s current version.
$ helm version
version.BuildInfo{Version:"v3.4.2", GitCommit:"23dd3af5e19a02d4f4baa5b2f242645a1a3af629", GitTreeState:"clean", GoVersion:"go1.14.13"}
Helm Installation Bash Script
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
sudo apt-get install apt-transport-https --yes
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt update
sudo apt install -y helm
helm version
Pingback: How to Setup Prometheus on Minikube - Swiss Army DevOps
Pingback: Setting up Loki & Grafana in Kubernetes - Swiss Army DevOps