# Install yh with Homebrew

YAML syntax highlighter to bring colours where only jq could. Version 0.4.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:yh
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install yh
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:yh
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/yh>
- **Version:** 0.4.0
- **Source summary:** YAML syntax highlighter to bring colours where only jq could
- **Homepage:** <https://github.com/andreazorzetto/yh>
- **Repository:** <https://github.com/andreazorzetto/yh>
- **Upstream docs:** <https://github.com/andreazorzetto/yh#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/andreazorzetto/yh/archive/refs/tags/v0.4.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- yh (cli)
- yh (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.4.0
- Local data: ok
- Upstream repository: https://github.com/andreazorzetto/yh
- Upstream latest detected: v0.4.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

yh is a small Go command-line YAML highlighter aimed at colorizing YAML streams, especially kubectl output.

### Project history

The README gives a precise origin story: the author wanted color while working with Kubernetes YAML output, did not find a simple dump-and-highlight tool, and wrote one from scratch after recent Go training. The repository was created in April 2020 and published a quick run of 0.x releases through October 2020.

### Adoption history

yh's adoption is narrow but clear: it targets Kubernetes users who pipe kubectl get ... -o yaml into a jq-like highlighter. The README documents brew install yh and downloadable release binaries for Linux, macOS, and Windows.

### How it is used

The canonical usage is kubectl get pod alpine -o yaml | yh. The binary also exposes help and version subcommands.

### Why package nerds care

yh is an example of a packageable single-purpose CLI: one binary, stdin-to-stdout behavior, no configuration, and a memorable niche adjacent to jq and kubectl.

### Timeline

- 2020-04: Repository created and v0.1/v0.2 releases published.
- 2020-10: v0.4.0 published.

### Related projects

- kubectl: primary documented producer of YAML streams for yh.
- jq: README reference point for command-line colorized output.

### Sources

- <https://api.github.com/repos/andreazorzetto/yh - repository creation date and description.>
- <https://api.github.com/repos/andreazorzetto/yh/releases - release tags and publication dates.>
- <https://github.com/andreazorzetto/yh - README describes motivation, usage, installation, and project scope.>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control 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.
- [csview](https://www.automicvault.com/pkg/brew/csview/) - Shares av.db curated category or tags: cli, data-tools, developer-tools, terminal.
- [ijq](https://www.automicvault.com/pkg/brew/ijq/) - Shares av.db curated category or tags: cli, data-tools, developer-tools, terminal.
- [shyaml](https://www.automicvault.com/pkg/brew/shyaml/) - Shares av.db curated category or tags: cli, data-tools, developer-tools, yaml.
- [yj](https://www.automicvault.com/pkg/brew/yj/) - Shares av.db curated category or tags: cli, data-tools, developer-tools, yaml.
- [ccat](https://www.automicvault.com/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting, terminal.
- [csvprintf](https://www.automicvault.com/pkg/brew/csvprintf/) - Shares av.db curated category or tags: cli, data-tools, developer-tools.
- [diffr](https://www.automicvault.com/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting, terminal.
- [gat](https://www.automicvault.com/pkg/brew/gat/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/yh.yml](https://github.com/automic-vault/db/blob/main/combined/yh.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
- cross-ecosystem install command graph
