# yh を Homebrew でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install yh
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:yh
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.4.0
- **ソース概要:** YAML syntax highlighter to bring colours where only jq could
- **ホームページ:** <https://github.com/andreazorzetto/yh>
- **リポジトリ:** <https://github.com/andreazorzetto/yh>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- yh (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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)


## ソース

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