# Install ytt with Homebrew, apk, MacPorts, Nix, scoop, winget

YAML templating tool that works on YAML structure instead of text. Version 0.55.1 via Homebrew; verified 2026-06-01.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ytt
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ytt
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:ytt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ytt>
- **Version:** 0.55.1
- **Source summary:** YAML templating tool that works on YAML structure instead of text
- **Homepage:** <https://carvel.dev/ytt/>
- **Repository:** <https://github.com/carvel-dev/ytt>
- **Upstream docs:** <https://carvel.dev/ytt>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/carvel-dev/ytt/archive/refs/tags/v0.55.1.tar.gz>
- **Last updated:** 2026-06-01T14:53:07Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ytt (cli)
- ytt (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.55.1
- Package-manager updated: 2026-06-01
- Local data: ok
- Upstream repository: https://github.com/carvel-dev/ytt
- Upstream latest detected: v0.55.1 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

No matching local secret-handling manifest was found for ytt. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- 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-r7: 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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [butane](https://www.automicvault.com/pkg/brew/butane/) - Shares av.db curated category or tags: cli, configuration, developer-tools, yaml.
- [config-file-validator](https://www.automicvault.com/pkg/brew/config-file-validator/) - Shares av.db curated category or tags: cli, configuration, developer-tools, yaml.
- [dhall-json](https://www.automicvault.com/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, configuration, developer-tools, yaml.
- [dhall-bash](https://www.automicvault.com/pkg/brew/dhall-bash/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [dynaconf](https://www.automicvault.com/pkg/brew/dynaconf/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [editorconfig](https://www.automicvault.com/pkg/brew/editorconfig/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [envelope](https://www.automicvault.com/pkg/brew/envelope/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [envio](https://www.automicvault.com/pkg/brew/envio/) - Shares av.db curated category or tags: cli, configuration, developer-tools.
- [kapp](https://www.automicvault.com/pkg/brew/kapp/) - Local package facts share a topical domain. Shared terms: carvel, cli, developer, developer-tools, kubernetes.

## Combined YAML source

View the package source record on GitHub. [combined/ytt.yml](https://github.com/automic-vault/db/blob/main/combined/ytt.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
