# 使用 Homebrew 安装 ktmpl

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

## 安装

```sh
sudo av install brew:ktmpl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ktmpl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:ktmpl
- **软件包管理器:** Homebrew
- **版本:** 0.9.1
- **来源摘要:** Parameterized templates for Kubernetes manifests
- **主页:** <https://github.com/jimmycuadra/ktmpl>
- **仓库:** <https://github.com/jimmycuadra/ktmpl>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ktmpl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.9.1
## 项目历史与用法

ktmpl is a small Kubernetes manifest templating command-line tool. Its README describes it as a client-side implementation of Kubernetes' Templates + Parameterization proposal, turning YAML templates plus parameter values into manifests that can be piped to kubectl.

### 项目历史

The GitHub repository was created on 2017-10-20. The project was written and distributed as a Rust CLI, with installation paths documented through Homebrew, Cargo, prebuilt GitHub release binaries, and a Docker image.

ktmpl belongs to an early wave of Kubernetes configuration tools that tried to make raw YAML manifests reusable before the ecosystem consolidated around Helm charts, Kustomize overlays, and GitOps-oriented render/apply workflows.

### 采用历史

Adoption evidence is modest and mostly package-manager oriented. The README's installation section documents Homebrew and Cargo as first-class install paths, and the Homebrew formula kept ktmpl available as a single-purpose manifest renderer.

### 使用方式

ktmpl reads a Kubernetes manifest template from a file or stdin, accepts values with command-line parameters or YAML parameter files, can base64-encode secret data, and writes the processed manifest to stdout for use with kubectl.

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

For package nerds, ktmpl is a useful fossil from Kubernetes' templating experiments: it packages one obsolete upstream design proposal as a small Unix-style filter. Its value is less broad adoption than the way it captures a particular moment in Kubernetes manifest management.

### 时间线

- 2017-10-20: jimmycuadra/ktmpl repository created on GitHub.
- 2017: README documented ktmpl 0.6.0 as a CLI that produced Kubernetes manifests from parameterized templates.
- 2026: Homebrew formula metadata listed ktmpl as a niche Kubernetes templating utility.

### Related projects

- ktmpl is related to kubectl, the obsolete Kubernetes Templates + Parameterization proposal, Helm, Kustomize, and other tools that render or transform Kubernetes manifests before applying them to a cluster.

### 来源

- <https://api.github.com/repos/jimmycuadra/ktmpl>
- <https://formulae.brew.sh/formula/ktmpl>
- <https://github.com/jimmycuadra/ktmpl>
- <https://github.com/kubernetes/community/blob/master/contributors/design-proposals/apps/OBSOLETE_templates.md>
- <https://raw.githubusercontent.com/jimmycuadra/ktmpl/master/README.md>


## 安全说明

infrastructure mutation or orchestration signal.

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
