# ytt を Homebrew, apk, MacPorts, Nix, scoop, winget でインストール

ytt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ytt
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ytt
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ytt
```

  証拠: MacPorts ports tree: textproc/ytt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ytt
```

  証拠: Alpine Linux edge package indexes: ytt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#ytt
```

  証拠: nixpkgs package indexes: pkgs/by-name/yt/ytt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/ytt
```

  証拠: Scoop official bucket manifest trees: bucket/ytt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Carvel.ytt -e
```

  証拠: Windows Package Manager source index: Carvel.ytt from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:ytt
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.55.1
- **ソース概要:** YAML templating tool that works on YAML structure instead of text
- **ホームページ:** <https://carvel.dev/ytt/>
- **リポジトリ:** <https://github.com/carvel-dev/ytt>
- **最終更新:** 2026-07-25T21:32:50+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ytt (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.55.1
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2019-03-01: The carvel-dev/ytt GitHub repository is created.
- 2019-03-12: IBM Developer announces ytt v0.1.0 as a new YAML templating approach.
- 2019-03-20: ytt v0.4.0 appears in GitHub releases, followed by frequent early releases.
- 2020-2021: k14s tooling is increasingly described under the Carvel name and used in Tanzu Kubernetes workflows.
- 2020s: ytt remains one of the core Carvel tools alongside kapp, kbld, imgpkg, vendir, and kapp-controller.

### Related projects

- Related projects include Carvel, k14s, kapp, kbld, imgpkg, vendir, kapp-controller, kctrl, Helm, Kustomize, Jsonnet, Dhall, Starlark, Kubernetes, and Tanzu Kubernetes Grid.

### ソース

- <https://api.github.com/repos/carvel-dev/ytt>
- <https://carvel.dev/>
- <https://carvel.dev/blog/parameterizing-project-config-with-ytt/>
- <https://carvel.dev/ytt/>
- <https://developer.ibm.com/blogs/yaml-templating-tool-to-simplify-complex-configuration-management/>
- <https://github.com/carvel-dev/ytt>
- <https://github.com/carvel-dev/ytt-library-for-kubernetes>
- <https://techdocs.broadcom.com/us/en/vmware-tanzu/standalone-components/tanzu-kubernetes-grid/2-4/using-tkg/workload-carvel-tools.html>


## セキュリティノート

ytt に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - ytt: normalized package name match | nixpkgs package indexes: pkgs/by-name/yt/ytt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ytt - 0.52.1-r8: normalized package name match | Alpine Linux edge package indexes: ytt from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | YAML templating tool that works on YAML structure instead of text | https://carvel.dev/ytt/
- MacPorts - ytt: normalized package name match | MacPorts ports tree: textproc/ytt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/ytt: normalized package name match | Scoop official bucket manifest trees: bucket/ytt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Carvel.ytt: normalized package name match | Windows Package Manager source index: Carvel.ytt from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/ytt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ytt.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
