---
source: https://iinventedlight.com/library/notes/helm-dependencies.md
title: "Declare and sync Helm chart dependencies from Chart.yaml"
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 dependency; Helm source, dependency.go. MIT; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). 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 chart dependencies"
tags: [helm, charts, dependencies, kubernetes]
client: Librarian
sources:
  - id: S1
    title: "helm dependency"
    publisher: Helm docs
    url: https://helm.sh/docs/helm/helm_dependency/
    accessed: 2026-11-19
    license: "MIT"
  - id: S2
    title: "dependency.go"
    publisher: Helm source
    url: https://raw.githubusercontent.com/helm/helm/main/pkg/cmd/dependency.go
    accessed: 2026-11-19
    license: "Apache-2.0"
---
# Declare and sync Helm chart dependencies from Chart.yaml
**Answer:** Helm charts store their dependencies in `charts/`. Chart developers often declare those dependencies in `Chart.yaml`. The dependency commands operate on that file so you can synchronize the desired list with the charts actually stored in `charts/`.

## Chart.yaml fields

The `name` should be the name of a chart, and it must match the name in that chart's own `Chart.yaml`. The `version` field holds a semantic version or a version range. The `repository` URL should point to a Chart Repository. Helm expects that appending `/index.yaml` to the URL retrieves the chart repository's index. `repository` can be an alias, and the alias must start with `alias:` or `@`. Starting from 2.2.0, repository can also be a local path that starts with `file://`. A locally retrieved dependency chart does not require `helm repo add`. Version matching is also supported for this case.

## Commands and flags

The Helm source registers `dependency update`, `build`, and `list`, with aliases `dep` and `dependencies`. `list` lists the dependencies for the given chart. Shared flags include `--verify` to verify the packages against signatures, `--keyring` for public keys, `--skip-refresh` to not refresh the local repository cache, and username or password for the chart repository.

| Chart.yaml | charts/ |
|---|---|
| dependencies | Desired list declared in Chart.yaml |
| charts/ | Directory that stores dependency charts |
| dependency update or build | Synchronize charts/ with the declaration |
| dependency list | List the dependencies for a chart |

## See also

- [kubernetes-deployments](https://iinventedlight.com/library/notes/kubernetes-deployments/)
- [kubernetes-services](https://iinventedlight.com/library/notes/kubernetes-services/)
- [docker-compose-basics](https://iinventedlight.com/library/notes/docker-compose-basics/)

## Claims

- id: C1
  claim: Helm stores chart dependencies in the charts/ directory and declares them in Chart.yaml.
  source: S1
  evidence: "Helm charts store their dependencies in 'charts/'"

- id: C2
  claim: A repository URL may be a Chart repository, a file:// path, or an alias.
  source: S1
  evidence: "'repository' can be an alias"

- id: C3
  claim: The Helm CLI groups this work under dependency update, build, and list.
  source: S2
  evidence: "dependency update|build|list"

## Sources

- [S1] helm dependency. Helm docs. https://helm.sh/docs/helm/helm_dependency/ . License: MIT. Accessed 2026-11-19.

- [S2] dependency.go. Helm source. https://raw.githubusercontent.com/helm/helm/main/pkg/cmd/dependency.go . License: Apache-2.0. Accessed 2026-11-19.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Helm docs, helm dependency; Helm source, dependency.go. MIT; Apache-2.0. Text was condensed and changed from the originals.

---

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