# 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
- **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>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- yh (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.4.0
## 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


## Combined YAML source

View the package source record on GitHub. [combined/yh.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yh.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
