macOS
brew install yttlocal Homebrew formula metadata
sudo port install yttMacPorts ports tree · textproc/ytt/Portfile · 来源: api.github.com
安装
brew install yttlocal Homebrew formula metadata
sudo port install yttMacPorts ports tree · textproc/ytt/Portfile · 来源: api.github.com
sudo apk add yttAlpine Linux edge package indexes · ytt · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#yttnixpkgs package indexes · pkgs/by-name/yt/ytt/package.nix · 来源: api.github.com
scoop install main/yttScoop official bucket manifest trees · bucket/ytt.json · 来源: api.github.com
winget install --id Carvel.ytt -eWindows Package Manager source index · Carvel.ytt · 来源: cdn.winget.microsoft.com
概览
YAML templating tool that works on YAML structure instead of text
历史
ytt is Carvel’s structure-aware YAML templating tool, historically important because it treats YAML as data structure plus Starlark annotations instead of as raw text with indentation-sensitive string interpolation.
ytt was introduced publicly in March 2019 as the YAML Templating Tool, with IBM Developer describing v0.1.0 as a new approach to complex configuration management. The GitHub repository was created the same month, and early releases followed rapidly through spring and summer 2019.
The tool emerged from the k14s/Carvel ecosystem around Kubernetes configuration. Its core design responded to a common pain in Helm, Jinja, ERB, and other text-templating approaches: YAML indentation, quoting, and patching errors caused by treating structured configuration as strings. ytt instead embeds Starlark through `#@` annotations and evaluates templates into YAML structures.
As k14s became Carvel, ytt settled into a suite of small composable Kubernetes tools alongside kapp, kbld, imgpkg, vendir, kapp-controller, and kctrl. The Carvel site frames the suite as single-purpose, composable tools for building, configuring, and deploying applications on Kubernetes.
ytt adoption has been strongest in Kubernetes and Tanzu/Carvel workflows. Broadcom VMware Tanzu documentation bundles ytt with other Carvel tools in Tanzu Kubernetes Grid contexts, and Carvel maintains community channels, an adopter list, examples, an online playground, and reusable libraries such as ytt Library for Kubernetes.
Outside Tanzu, ytt is adopted by users who want more programmability than Kustomize overlays but less text-fragility than Helm-style templating. Blog posts and talks often present it as an alternative or complement to Helm, Kustomize, Jsonnet, and Dhall in Kubernetes configuration pipelines.
Users run ytt to template, patch, validate, and compose YAML files. Common patterns include data values for environment-specific configuration, overlays for patching third-party YAML, Starlark functions for reusable logic, schema and validations for fast feedback, and integration into GitOps or packaging flows.
The package is especially useful when a team has piles of Kubernetes YAML and wants programmable reuse while preserving YAML structure. Its online playground and local `ytt website` mode also make examples easy to test without wiring a cluster.
ytt matters to package nerds because it shows a distinct packaging philosophy: do one YAML-shaping job well, compose with neighboring tools, and avoid making the templater also be the package manager, deployer, and image builder.
It is also one of the clearer examples of Starlark moving beyond Bazel into infrastructure configuration. In dependency graphs, seeing ytt often hints at Carvel-style Kubernetes delivery rather than Helm-only packaging.
安全态势
没有找到 ytt 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ytt | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ytt |
|---|---|
| 版本 | 0.55.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://carvel.dev/ytt/ |
| 仓库 | https://github.com/carvel-dev/ytt |
| 最后更新 | 2026-07-25T21:32:50+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ytt
nix profile install nixpkgs#yttytt 0.52.1-r8
YAML templating tool that works on YAML structure instead of text
sudo apk add yttytt
sudo port install yttmain/ytt
scoop install main/yttCarvel.ytt
winget install --id Carvel.ytt -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.