12.2. CLI installation

This guide shows you how to install the helm CLI tool. helm can be installed either from source or from pre-built binary releases. We are going to use the pre-built releases. helm binaries can be found on Helm’s release page for the usual variety of operating systems.

Task 12.2.1: Install CLI

Install the CLI for your Operating System

  1. Download the latest release
  2. Unpack it (e.g. tar -zxvf <filename>)
  3. Copy to the correct location
    • Linux: Find the helm binary in the unpacked directory and move it to its desired destination (e.g. mv linux-amd64/helm ~/.local/bin/)
      • The desired destination should be listed in your $PATH environment variable (echo $PATH)
    • macOS: Find the helm binary in the unpacked directory and move it to its desired destination (e.g. mv darwin-amd64/helm ~/bin/)
      • The desired destination should be listed in your $PATH environment variable (echo $PATH)
    • Windows: Find the helm binary in the unpacked directory and move it to its desired destination
      • The desired destination should be listed in your $PATH environment variable (echo $PATH)

Task 12.2.2: Verify

To verify, run the following command and check if Version is what you expected:

helm version

The output is similar to this:

version.BuildInfo{Version:"v3.10.1", GitCommit:"9f88ccb6aee40b9a0535fcc7efea6055e1ef72c9", GitTreeState:"clean", GoVersion:"go1.18.7"}

From here on you should be able to run the client.