macOS
brew install yhlocal Homebrew formula metadata
brew
YAML syntax highlighter to bring colours where only jq could. Version 0.4.0 via Homebrew; verified from local package data.
install
brew install yhlocal Homebrew formula metadata
overview
YAML syntax highlighter to bring colours where only jq could
history
yh is a small Go command-line YAML highlighter aimed at colorizing YAML streams, especially kubectl output.
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.
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.
The canonical usage is kubectl get pod alpine -o yaml | yh. The binary also exposes help and version subcommands.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
yh | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/andreazorzetto/yh
install metadata
| Package key | brew:yh |
|---|---|
| Version | 0.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/yh |
| 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 |
| Build dependencies | go |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.