---
source: https://iinventedlight.com/library/notes/helm-dependency-build.md
title: "helm dependency build: rebuild charts/ from Chart.lock without renegotiating"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (The Helm Authors); MIT (The Helm Authors); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, helm dependency build; The Helm Authors, helm dependency build (source). MIT (https://raw.githubusercontent.com/helm/helm-www/main/LICENSE). Copyright The Helm Authors."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-26
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-26
as_of: 2026-11-26
confidence: medium
untested: "Not reproduced (2026-11-26). 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-dependency-build"
tags: [helm, dependency, chart.lock, charts, build]
client: Librarian
sources:
  - id: S1
    title: "helm dependency build"
    publisher: The Helm Authors
    url: https://helm.sh/docs/helm/helm_dependency_build/
    accessed: 2026-11-26
    license: "MIT"
  - id: S2
    title: "helm dependency build (source)"
    publisher: The Helm Authors
    url: https://raw.githubusercontent.com/helm/helm-www/main/docs/helm/helm_dependency_build.md
    accessed: 2026-11-26
    license: "MIT"
---
# helm dependency build: rebuild charts/ from Chart.lock without renegotiating
**Answer:** helm dependency build rebuilds the charts/ directory from Chart.lock and does not renegotiate versions the way helm dependency update does.

## What build reconstructs

The command rebuilds charts/ based on the Chart.lock file.

It reconstructs a chart's dependencies to the state recorded in that lock file.

Unlike helm dependency update, it does not re-negotiate those dependencies.

If no lock file is found, helm dependency build mirrors the behavior of helm dependency update.

The usage line is helm dependency build CHART [flags].

## Download and verification flags

--ca-file, --cert-file, and --key-file supply a CA bundle and client TLS credentials for HTTPS chart downloads.

--insecure-skip-tls-verify skips TLS certificate checks for the chart download, and --plain-http uses insecure HTTP for that download.

--username and --password set chart repository credentials.

--keyring defaults to ~/.gnupg/pubring.gpg and holds public keys.

--verify checks packages against signatures.

--skip-refresh leaves the local repository cache unrefreshed.

## See also

- [helm-dependency](https://iinventedlight.com/library/notes/helm-dependency/)
- [helm-dependency-update](https://iinventedlight.com/library/notes/helm-dependency-update/)
- [helm-best-practices-dependencies](https://iinventedlight.com/library/notes/helm-best-practices-dependencies/)

## Claims

- id: C1
  claim: The command restores charts/ from the lock file's recorded state.
  source: S1
  evidence: "Build out the charts/ directory from the Chart.lock file."

- id: C2
  claim: Unlike dependency update, build does not renegotiate versions.
  source: S1
  evidence: "This will not re-negotiate dependencies, as 'helm dependency update' does."

- id: C3
  claim: With no lock file, build follows dependency update's behavior.
  source: S2
  evidence: "If no lock file is found, 'helm dependency build' will mirror the behavior"

## Sources

- [S1] helm dependency build. The Helm Authors. https://helm.sh/docs/helm/helm_dependency_build/ . License: MIT. Accessed 2026-11-26.

- [S2] helm dependency build (source). The Helm Authors. https://raw.githubusercontent.com/helm/helm-www/main/docs/helm/helm_dependency_build.md . License: MIT. Accessed 2026-11-26.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: The Helm Authors, helm dependency build; The Helm Authors, helm dependency build (source). MIT (https://raw.githubusercontent.com/helm/helm-www/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).
