Here is how to install Helm on Rocky Linux 9. Tested and verified.
Prerequisites
- Rocky Linux 9 installed and updated
- Root or sudo access
- Internet connection
curlinstalled (preinstalled by default; if missing, runsudo dnf install -y curl)
Step 1: Update System
sudo dnf update -yStep 2: Download the Install Script
Helm does not maintain an official DNF/YUM repository for RHEL-family distributions — only Fedora’s own package repositories carry a first-party helm package. On Rocky Linux 9, the officially recommended path is the installer script published by the Helm project:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4
chmod 700 get_helm.shStep 3: Install Helm
./get_helm.shThe script detects your OS and architecture, downloads the matching Helm release, verifies its checksum, and copies the helm binary to /usr/local/bin.
Step 4: Verify Installation
helm versionExpected output shows the installed version, e.g. version.BuildInfo{Version:"v4.x.x", ...}.
Step 5: Set Up Shell Completion
Helm is a CLI binary, not a background service — there is no daemon to enable or start. The genuinely useful post-install step is turning on shell completion:
sudo dnf install -y bash-completion # if not already installed
helm completion bash | sudo tee /etc/bash_completion.d/helm > /dev/null
source /etc/bash_completion.d/helmTroubleshooting
helm: command not found
The install script places the binary in /usr/local/bin. Confirm it’s there and on your PATH:
which helm
echo $PATH
ls -l /usr/local/bin/helmOpen a new shell session if /usr/local/bin was only just added to your PATH.
Script Fails to Download (TLS/curl Errors)
If curl fails with a certificate or TLS error, update your CA certificates and retry:
sudo dnf install -y ca-certificates
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-4Corporate proxies and an incorrect system clock are the most common causes of TLS failures when fetching the script from GitHub.
Checksum Verification Failed
If you downloaded a release archive manually instead of using the script and its sha256sum doesn’t match the checksum published on the GitHub releases page, the download was corrupted or tampered with in transit — delete it and download it again.
Uninstall
sudo rm -f /usr/local/bin/helmTo also remove Helm’s cache, config, and data directories:
rm -rf ~/.cache/helm ~/.config/helm ~/.local/share/helmRelated Guides
About the Author
I am Luca Berton, AI and Cloud Advisor. Book a consultation to get help with your infrastructure setup.