How can I list all available charts under a helm repo?
Master System Design with Codemia
Enhance your system design skills with over 120 practice problems, detailed solutions, and hands-on exercises.
Introduction
Helm keeps a local cache of chart repository indexes, and that cache is what the CLI searches when you ask for available charts. In practice, listing everything under a repo means adding the repo, refreshing the cache, and using helm search repo with the repo alias.
Add the Repository and Refresh the Cache
If the repo is not already configured, add it first:
helm repo add saves the repository under a local alias. helm repo update downloads the latest index metadata so your search results reflect the current set of charts.
You can verify the configured repositories with:
Typical output looks like this:
List All Charts from a Repository
Once the repo is present, use the alias with helm search repo:
Because chart names are stored in repo/chart form, searching for the repo alias effectively lists the charts that belong to that repository.
Example output:
If you want to narrow the results to a specific chart, search using the full chart name:
Show Historical Versions
By default, Helm shows the latest chart version in the repo index. To see all published versions that the index exposes, add --versions:
That is useful when you need to pin an older chart for compatibility or compare upgrade paths.
You can also request machine-readable output:
JSON or YAML output is easier to consume in documentation tooling, validation checks, or CI logs.
Understand What Helm Is Searching
A common point of confusion is that helm search repo reads Helm’s local repository cache. It does not query the remote repo live on every command. That means stale results usually come from stale cache data, not from a broken search command.
If a chart appears to be missing, run:
and search again before assuming the chart was removed.
You can inspect Helm’s environment values with:
That can help you find the local repository cache path when debugging unusual behavior.
Helm Repositories and OCI Registries Are Different
helm search repo works for classic Helm repositories that you add with helm repo add. OCI registries follow a different model. If your chart source is an OCI registry, you typically authenticate and pull charts directly instead of listing them with helm search repo.
So if search returns nothing, verify that the source is really a Helm repo and not an OCI registry.
Common Pitfalls
The most common issue is forgetting helm repo update. Without refreshing the index, Helm may still be searching an older local snapshot.
Another mistake is searching for the wrong alias. If you added a repo as internal, then helm search repo company will not list anything from that repo. Use the alias shown by helm repo list.
Users also mix up chart version and app version. Helm shows both values, and they describe different things. When pinning installs, use the chart version intentionally.
Finally, do not expect helm search repo to enumerate OCI registries. The command is correct for standard Helm repositories only.
Summary
- Add the repository with
helm repo addand refresh it withhelm repo update. - Use
helm search repo repo-aliasto list charts under that repository. - Add
--versionswhen you need historical chart versions. - Use
-o jsonor-o yamlfor machine-readable output. - Check whether the source is an OCI registry if the repo search appears empty.

