Getting Started
Verified against the Helm v4 line (pinned commit
74fa4fce, near tag v4.2.2). Commands assume a reachable Kubernetes cluster.
Prerequisites
- A Kubernetes cluster reachable through your kubeconfig. The install path calls
IsReachable()and fails fast if the cluster cannot be reached (pkg/action/install.go:296). - The
helmbinary on your PATH.
Install
On macOS with Homebrew:
brew install helmOn Linux, use the official install script or a binary release. See the installation guide for the script and checksums.
A first working setup
The shortest path is to add a chart repository, install a chart as a named release, and confirm it.
Add a chart repository.
bashhelm repo add <name> <repo-url> helm repo updateInstall a chart as a release.
bashhelm install <release> <name>/<chart>
For an OCI-hosted chart, install by reference instead of a repo:
helm install <release> oci://<registry>/<chart> --version <version>List the releases in the namespace.
bashhelm listRemove the release when done.
bashhelm uninstall <release>
Verify it works
helm list shows the release with a deployed status. You can also see the release record Helm stores in the namespace, a Secret of type helm.sh/release.v1 (pkg/storage/driver/secrets.go:284):
kubectl get secret -l owner=helmWhere to go next
For production concerns such as chart provenance and signing, OCI registry distribution, the storage driver choice through HELM_DRIVER, and chart authoring, see the official Helm docs. GitOps users typically drive Helm through Argo CD or Flux rather than running helm install by hand.