pkg.soopen package index

brew / 排名 7155

使用 Homebrew 安装 yh

查看 yh 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yh

local Homebrew formula metadata

概览

软件包摘要

YAML syntax highlighter to bring colours where only jq could

命令和别名

  • yh

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
yhcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.4.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.4.0

https://github.com/andreazorzetto/yh

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:yh
版本0.4.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/yh
主页https://github.com/andreazorzetto/yh
仓库https://github.com/andreazorzetto/yh
许可证Apache-2.0
源码归档https://github.com/andreazorzetto/yh/archive/refs/tags/v0.4.0.tar.gz
构建依赖go
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyh
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/yh.yml

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation