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.
Warning
If you do this training in our acend web based environment, no installation is required.Task 12.2.1: Install CLI
Install the CLI for your Operating System
- Download the latest release
- Unpack it (e.g.
tar -zxvf <filename>
) - 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
)
- The desired destination should be listed in your $PATH environment variable (
- 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
)
- The desired destination should be listed in your $PATH environment variable (
- 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
)
- The desired destination should be listed in your $PATH environment variable (
- Linux: Find the
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.