# 使用 Homebrew, Nix 安装 kbld

查看 kbld 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:kbld
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kbld
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kbld
```

  证据: nixpkgs package indexes: pkgs/by-name/kb/kbld/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:kbld
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kbld>
- **版本:** 0.49.1
- **来源摘要:** Tool for building and pushing container images in development workflows
- **主页:** <https://carvel.dev/kbld/>
- **仓库:** <https://github.com/carvel-dev/kbld>
- **上游文档:** <https://carvel.dev/kbld/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/carvel-dev/kbld/archive/refs/tags/v0.49.1.tar.gz>
- **最后更新:** 2026-07-27T21:58:38+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- kbld (cli)
- kbld (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.49.1
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/carvel-dev/kbld
- 检测到的最新版本: v0.49.1 (当前)
## 项目历史与用法

kbld is a Carvel CLI for Kubernetes and YAML workflows that builds, pushes, resolves, locks, packages, and relocates container image references.

### 项目历史

The kbld repository began in April 2019. Its README and Carvel site describe a tool that delegates image building to mature tools such as Docker and Buildpacks pack, then rewrites YAML configuration to immutable digest references.

kbld grew as part of the k14s/Carvel family rather than as a standalone monolith. Carvel documentation presents ytt, kbld, and kapp as composable tools: ytt structures and overlays YAML, kbld handles images, and kapp deploys and diffs Kubernetes resources.

### 采用历史

Carvel's public materials describe the suite as born from frustration with monolithic Kubernetes deployment tools and built around Unix-style composition. kbld's adoption follows that pattern: it appears in Homebrew, Nix, and Carvel install flows as one small command in a larger Kubernetes delivery toolchain.

### 使用方式

Typical kbld usage pipes or reads YAML, finds image references, builds or resolves them, and emits YAML with digest-pinned images. Its docs also cover lock files, registry pushes, packaging images into tarballs, and relocation between registries.

### 为什么软件包爱好者会关心

kbld is package-nerd interesting because it makes image immutability a CLI transformation step. Instead of hiding build metadata in a platform service, it keeps the artifact graph visible in YAML and lock files that can be piped into other tools.

### 时间线

- 2019-04-19: Repository initialized
- 2019: k14s tools including kbld were released as composable Kubernetes workflow tools
- 2020-08: k14s was rebranded as Carvel
- 2022-10: VMware announced Carvel's move into the CNCF Sandbox
- 2026-06-17: v0.49.1 release appeared in the GitHub release list

### Related projects

- kbld is closely related to Carvel ytt, kapp, imgpkg, vendir, kapp-controller, Docker, Buildpacks pack, Kubernetes manifests, Helm, and kustomize.

### 来源

- <https://blogs.vmware.com/opensource/2022/10/25/carvel-sets-sail-for-the-cncf-sandbox/>
- <https://carvel.dev/blog/deploying-apps-with-ytt-kbld-kapp/>
- <https://carvel.dev/blog/introduction-to-carvel-blog-post/>
- <https://carvel.dev/kbld/>
- <https://carvel.dev/kbld/docs/develop/building/>
- <https://formulae.brew.sh/formula/kbld>
- <https://github.com/carvel-dev/kbld>
- <https://github.com/carvel-dev/kbld/commit/bc8118ca3ad7ecb7b2e3825d517a121c9c767cde.patch>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kbld
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - kbld: normalized package name match | nixpkgs package indexes: pkgs/by-name/kb/kbld/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ko](https://pkg.so/zh-hans/brew/ko/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, kubernetes.
- [skaffold](https://pkg.so/zh-hans/brew/skaffold/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, devops, kubernetes.
- [colima](https://pkg.so/zh-hans/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, kubernetes.
- [devspace](https://pkg.so/zh-hans/brew/devspace/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [containerd](https://pkg.so/zh-hans/brew/containerd/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, kubernetes.
- [popeye](https://pkg.so/zh-hans/brew/popeye/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [kconf](https://pkg.so/zh-hans/brew/kconf/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [container-canary](https://pkg.so/zh-hans/brew/container-canary/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, kubernetes.

## Combined YAML source

View the package source record on GitHub. [combined/kbld.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kbld.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
