# 使用 Homebrew 安装 ktmpl

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ktmpl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:ktmpl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ktmpl>
- **版本:** 0.9.1
- **来源摘要:** Parameterized templates for Kubernetes manifests
- **主页:** <https://github.com/jimmycuadra/ktmpl>
- **仓库:** <https://github.com/jimmycuadra/ktmpl>
- **许可证:** MIT
- **源码归档:** <https://github.com/jimmycuadra/ktmpl/archive/refs/tags/0.9.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ktmpl (cli)
- ktmpl (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.1
- 本地数据: OK
- 上游仓库: https://github.com/jimmycuadra/ktmpl
- 检测到的最新版本: 0.9.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ktmpl
- **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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control 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.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [draft](https://pkg.so/zh-hans/brew/draft/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes, manifests.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k9s](https://pkg.so/zh-hans/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k3d](https://pkg.so/zh-hans/brew/k3d/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [ctlptl](https://pkg.so/zh-hans/brew/ctlptl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [openshift-cli](https://pkg.so/zh-hans/brew/openshift-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [eksctl](https://pkg.so/zh-hans/brew/eksctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [skaffold](https://pkg.so/zh-hans/brew/skaffold/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [kconf](https://pkg.so/zh-hans/brew/kconf/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, configuration, infrastructure.
- [kubecfg](https://pkg.so/zh-hans/brew/kubecfg/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, configuration, infrastructure.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
