• Recent blogs

    4 ways to install Helm

    4 ways to install Helm

    Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application. This how-to article  shows how to install the Helm CLI. Helm can be installed in either of these 4 ways namely from source, or from  binary , from script and through Package manager.

    From Source (Linux, macOS)

    Building Helm from source is the best way to go if you want to test the latest (pre-release) Helm version.

    You must have a working Go environment.

    $ git clone https://github.com/helm/helm.git
    $ cd helm
    $ make

    From the Binary Releases

    Every release of Helm provides binary releases for a variety of OSes. These binary versions can be manually downloaded and installed.

    1. Download your desired version.
    2. Unpack it
    tar -zxvf helm-v3.0.0-linux-amd64.tar.gz

    3. Find the helm binary in the unpacked directory, and move it to its desired destination
    mv linux-amd64/helm /usr/local/bin/helm

    4. Once you have Helm ready, you can add a chart repository. The official Helm stable charts:

    $ helm repo add stable https://kubernetes-charts.storage.googleapis.com/

    4 ways to install Helm

    From Script

    Helm now has an installer script that will automatically grab the latest version of Helm and install it locally.

    curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
    $ chmod 700 get_helm.sh
    $ ./get_helm.sh

    [root@elkserveristio]# curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
    [root@elkserveristio]# ls
    get_helm.sh  istio-1.4.3
    [root@elkserveristio]# chmod 700 get_helm.sh
    [root@elkserveristio]# ./get_helm.sh
    Downloading https://get.helm.sh/helm-v3.1.2-linux-amd64.tar.gz
    Preparing to install helm into /usr/local/bin
    helm installed into /usr/local/bin/helm

    Through Package Manager

    Homebrew (macOS)
    Members of the Kubernetes community have contributed a Helm formula build to Homebrew.

    brew install helm

    Chocolatey (Windows)
    Members of the Kubernetes community have contributed a Helm package build to Chocolatey.

    choco install kubernetes-helm

    No comments