macOS
brew install gronlocal Homebrew formula metadata
sudo port install gronMacPorts ports tree · textproc/gron/Portfile · source: api.github.com
brew
Make JSON greppable. Version 0.7.1 via Homebrew; verified from local package data.
install
brew install gronlocal Homebrew formula metadata
sudo port install gronMacPorts ports tree · textproc/gron/Portfile · source: api.github.com
sudo apk add gronAlpine Linux edge package indexes · gron · source: dl-cdn.alpinelinux.org
sudo apt install gronDebian stable package indexes · gron · source: deb.debian.org
nix profile install nixpkgs#gronnixpkgs package indexes · pkgs/by-name/gr/gron/package.nix · source: api.github.com
sudo pacman -S gronArch Linux sync databases · gron · source: geo.mirror.pkgbuild.com
sudo zypper install gronopenSUSE Tumbleweed package metadata · gron · source: download.opensuse.org
scoop install main/gronScoop official bucket manifest trees · bucket/gron.json · source: api.github.com
winget install --id TomHudson.gron -eWindows Package Manager source index · TomHudson.gron · source: cdn.winget.microsoft.com
overview
Make JSON greppable
history
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.
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 |
|---|---|---|---|
gron | 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/tomnomnom/gron
install metadata
| Package key | brew:gron |
|---|---|
| Version | 0.7.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gron |
| Homepage | https://github.com/tomnomnom/gron |
| Repository | https://github.com/tomnomnom/gron |
| Upstream docs | https://github.com/tomnomnom/gron#readme |
| License | MIT |
| Source archive | https://github.com/tomnomnom/gron/archive/refs/tags/v0.7.1.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 | 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 -esource 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.