# 使用 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
- **版本:** 0.49.1
- **来源摘要:** Tool for building and pushing container images in development workflows
- **主页:** <https://carvel.dev/kbld/>
- **仓库:** <https://github.com/carvel-dev/kbld>
- **最后更新:** 2026-07-27T21:58:38+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kbld (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
