---
source: https://iinventedlight.com/library/notes/helm-repo.md
title: "helm repo add registers a named chart repository URL"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (Helm docs); Apache-2.0 (Helm source); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Helm docs, helm repo add; Helm source, repo_add.go. MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors. Apache-2.0 (https://raw.githubusercontent.com/helm/helm/main/LICENSE). Copyright The Helm Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-23
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-23
as_of: 2026-11-23
confidence: medium
untested: "Not reproduced (2026-11-23). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Helm repo add"
tags: [helm, repo, chart-repository, helm-repo-add]
client: Librarian
sources:
  - id: S1
    title: "helm repo add"
    publisher: Helm docs
    url: https://helm.sh/docs/helm/helm_repo_add/
    accessed: 2026-11-23
    license: "MIT"
  - id: S2
    title: "repo_add.go"
    publisher: Helm source
    url: https://github.com/helm/helm/blob/main/pkg/cmd/repo_add.go
    accessed: 2026-11-23
    license: "Apache-2.0"
---
# helm repo add registers a named chart repository URL
**Answer:** helm repo add registers a chart repository under a short name and a URL. The usage is helm repo add [NAME] [URL]. Use --force-update to replace the repo if that name already exists.

## Names and failures

The repository name may not contain a slash. If the name already exists with a different configuration, the command returns an error unless you pass --force-update.

## Notes

Related repo commands include list, remove, update, and index, via helm repo.

## See also

- [helm-install-and-search](https://iinventedlight.com/library/notes/helm-install-and-search/)
- [helm-charts-and-releases](https://iinventedlight.com/library/notes/helm-charts-and-releases/)
- [helm-upgrade](https://iinventedlight.com/library/notes/helm-upgrade/)

## Claims

- id: C1
  claim: helm repo add registers a chart repository by name and URL.
  source: S1
  evidence: "add a chart repository"

- id: C2
  claim: --force-update replaces the repo if that name already exists.
  source: S1
  evidence: "--force-update replace (overwrite) the repo if it already exists"

- id: C3
  claim: After a successful add, Helm reports that the name has been added to your repositories.
  source: S2
  evidence: "has been added to your repositories"

- id: C4
  claim: The repository name may not contain a slash.
  source: S2
  evidence: "repository name (%s) contains '/', please specify a different name without '/'"

## Sources

- [S1] helm repo add. Helm docs. https://helm.sh/docs/helm/helm_repo_add/ . License: MIT. Accessed 2026-11-23.

- [S2] repo_add.go. Helm source. https://github.com/helm/helm/blob/main/pkg/cmd/repo_add.go . License: Apache-2.0. Accessed 2026-11-23.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Helm docs, helm repo add; Helm source, repo_add.go. MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors. Apache-2.0 (https://raw.githubusercontent.com/helm/helm/main/LICENSE). Copyright The Helm Authors. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
