Searching Helm Charts

1. Searching Repositories

CommandPurpose
helm search repo <term>Search local repo cache
helm search repo <term> --develInclude pre-release versions
helm search repo <term> -lList all versions (long output)

2. Searching Artifact Hub

Example: Discover charts across all public repos

helm search hub wordpress
helm search hub wordpress --max-col-width 80
helm search hub wordpress -o json | jq '.[] | {name,url}'
FlagPurpose
--endpointUse custom hub (default https://hub.helm.sh / artifacthub.io)
--list-repo-urlShow repo URL for each result

3. Using Search Keywords

QueryMatches
helm search repo databaseName, description, keywords field
helm search repo "postgres OR mysql"Boolean operators not supported — use regex
helm search repo bitnami/postgresRepo-scoped prefix match

4. Filtering by Version

Example: Constraint queries

helm search repo nginx --version "1.2.3"     # exact
helm search repo nginx --version "^1.2.0"    # >=1.2.0,<2.0.0
helm search repo nginx --version "~1.2.0"    # >=1.2.0,<1.3.0
helm search repo nginx --version ">=1.0 <2"  # range

5. Using Regular Expressions

PatternBehavior
helm search repo --regexp '^bitnami/postgres'Anchor at start
helm search repo --regexp 'nginx|apache'Alternation
helm search repo --regexp '.*-operator$'Suffix match

6. Limiting Search Results

FlagPurpose
--max-col-width <n>Truncate description column
-o yaml | yq '.[0:10]'Top-N via post-processing
helm search hub <term> --max-col-width 50Compact hub results

7. Viewing All Versions

Example: Inspect history of a chart

helm search repo bitnami/nginx --versions | head -20
FlagEffect
--versions / -lList every published version
--develInclude alpha/beta/rc tags

8. Searching with Output Format

FormatUse case
-o tableHuman-readable (default)
-o jsonPipe into jq for scripting
-o yamlEasy diffing with yq

9. Finding Latest Version

Example: Script latest stable version

helm search repo bitnami/nginx -o json \
  | jq -r '.[0].version'
# Latest including pre-release:
helm search repo bitnami/nginx --devel -o json | jq -r '.[0].version'

10. Searching Specific Repository

CommandScope
helm search repo bitnami/All charts in bitnami repo only
helm search repo bitnami/redisSpecific chart in repo
helm search repo --regexp '^prom'Repos starting with prom