macOS
brew install gronlocal Homebrew formula metadata
sudo port install gronMacPorts ports tree · textproc/gron/Portfile · 来源: api.github.com
安装
brew install gronlocal Homebrew formula metadata
sudo port install gronMacPorts ports tree · textproc/gron/Portfile · 来源: api.github.com
sudo apk add gronAlpine Linux edge package indexes · gron · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#gronnixpkgs package indexes · pkgs/by-name/gr/gron/package.nix · 来源: api.github.com
sudo pacman -S gronArch Linux sync databases · gron · 来源: geo.mirror.pkgbuild.com
sudo zypper install gronopenSUSE Tumbleweed package metadata · gron · 来源: download.opensuse.org
scoop install main/gronScoop official bucket manifest trees · bucket/gron.json · 来源: api.github.com
winget install --id TomHudson.gron -eWindows Package Manager source index · TomHudson.gron · 来源: cdn.winget.microsoft.com
概览
Make JSON greppable
历史
gron is Tom Hudson's command-line utility for turning JSON into assignment-like lines that work naturally with grep, diff, sed, awk, and other text tools.
The GitHub repository was created in 2012, and the public release series began in 2016 with 0.1.x tags. The README's core idea has stayed compact: transform JSON into discrete assignments so users can grep for values and see the absolute path to each match.
gron also works in reverse through `--ungron`, turning filtered assignment output back into JSON. That reverse path is central to the design because it lets users combine JSON with existing Unix filters rather than learning a full query language for every quick inspection task.
The implementation is distributed as a self-contained Go binary with no runtime dependencies, which helped the tool spread through package managers across Unix, macOS, Windows, and source-based ecosystems.
gron became popular among developers, shell users, site-reliability engineers, and security researchers who often receive large JSON blobs from APIs but do not know the object structure before exploring it. It complements rather than replaces jq: jq is a programmable JSON processor, while gron makes unknown JSON searchable with familiar line-oriented tools.
Its package-manager footprint is unusually broad for a small CLI. The input record lists Homebrew, Debian, Ubuntu, MacPorts, Nix, Alpine, Arch, Scoop, winget, and openSUSE packaging, reflecting a tool that is useful wherever JSON and shell pipelines meet.
A common workflow is `curl ... | gron | grep name` to discover paths inside a JSON response, then use the matching assignment path as a guide for a more precise query or transform. The README also shows file, URL, and standard-input modes.
The `--ungron` mode supports round-tripping filtered data back to JSON, and `--json` emits a stream form for users who prefer machine-readable path/value rows. gron is often used as an exploratory bridge between raw JSON and more precise tools such as jq.
gron is a package-nerd favorite because it is tiny, memorable, and aggressively Unix-shaped. It makes structured data line-oriented without asking users to abandon grep, diff, shell redirection, or muscle memory.
It is also a good example of package metadata telling a richer story than a homepage alone: one executable, MIT license, no runtime dependencies, many package managers, and a single problem statement that explains the whole tool.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gron | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tomnomnom/gron
安装元数据
| 软件包键 | brew:gron |
|---|---|
| 版本 | 0.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gron |
| 主页 | https://github.com/tomnomnom/gron |
| 仓库 | https://github.com/tomnomnom/gron |
| 上游文档 | https://github.com/tomnomnom/gron#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/tomnomnom/gron/archive/refs/tags/v0.7.1.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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gron |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gron 0.7.1-2+b8
tool to transform JSON into discrete, greppable assignments
https://github.com/tomnomnom/gron
sudo apt install grongron
nix profile install nixpkgs#grongron 0.7.1-2
tool to transform JSON into discrete, greppable assignments
https://github.com/tomnomnom/gron
sudo apt install grongron 0.7.1-r6
Make JSON greppable
https://github.com/tomnomnom/gron
sudo apk add grongron-doc 0.7.1-r6
Make JSON greppable (documentation)
https://github.com/tomnomnom/gron
sudo apk add gron-docgron 0.7.1-3
Makes JSON greppable
https://github.com/tomnomnom/gron
sudo pacman -S grongron 0.7.1-1.16
Make JSON greppable
https://github.com/tomnomnom/gron
sudo zypper install grongron
sudo port install gronmain/gron
scoop install main/gronTomHudson.gron
winget install --id TomHudson.gron -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.