Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop, winget 安装 gron

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gron

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gron

MacPorts ports tree · textproc/gron/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gron

Alpine Linux edge package indexes · gron · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install gron

Debian stable package indexes · gron · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#gron

nixpkgs package indexes · pkgs/by-name/gr/gron/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S gron

Arch Linux sync databases · gron · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install gron

openSUSE Tumbleweed package metadata · gron · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/gron

Scoop official bucket manifest trees · bucket/gron.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id TomHudson.gron -e

Windows Package Manager source index · TomHudson.gron · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Make JSON greppable

命令和别名

  • gron

历史

项目历史与用法

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.

时间线

  • 2012: The GitHub repository was created.
  • 2016: gron 0.1.0 was published on GitHub releases.
  • 2016: Rapid 0.1.x releases refined the initial binary distribution.
  • 2018: Release notes recorded fixes tied to Go toolchain behavior.
  • 2020s: gron remained widely packaged across Linux distributions, Homebrew, MacPorts, Nix, Scoop, winget, and other ecosystems.

Related projects

  • Related command-line tools include jq, jid, jc, fx, dasel, jello, yq, grep, sed, awk, and diff.
  • Related reimplementations and ports include fastgron, rust-gron, and library packages inspired by gron's path/value representation.

安全态势

风险级别:绿色

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 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.7.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.7.1

https://github.com/tomnomnom/gron

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

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namegron
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

gron 0.7.1-2+b8

tool to transform JSON into discrete, greppable assignments

https://github.com/tomnomnom/gron

sudo apt install gron
  • Section: utils
  • Architecture: amd64
  • Source Package: gron
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gron
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gron from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gron

nix profile install nixpkgs#gron
  • normalized package name match
  • 匹配方式:Gron
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gr/gron/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gron 0.7.1-2

tool to transform JSON into discrete, greppable assignments

https://github.com/tomnomnom/gron

sudo apt install gron
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gron
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gron from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gron 0.7.1-r6

Make JSON greppable

https://github.com/tomnomnom/gron

sudo apk add gron
  • License: MIT
  • Architecture: x86_64
  • Source Package: gron
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gron
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gron from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gron-doc 0.7.1-r6

Make JSON greppable (documentation)

https://github.com/tomnomnom/gron

sudo apk add gron-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gron
  • normalized package name match
  • 匹配方式:Gron
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gron-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

gron 0.7.1-3

Makes JSON greppable

https://github.com/tomnomnom/gron

sudo pacman -S gron
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gron
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gron from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gron 0.7.1-1.16

Make JSON greppable

https://github.com/tomnomnom/gron

sudo zypper install gron
  • License: MIT
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: gron
  • 1 提供
  • normalized package name match
  • 匹配方式:Gron
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gron from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gron

sudo port install gron
  • normalized package name match
  • 匹配方式:Gron
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/gron/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/gron

scoop install main/gron
  • normalized package name match
  • 匹配方式:Gron
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gron.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

TomHudson.gron

winget install --id TomHudson.gron -e
  • normalized package name match
  • 匹配方式:Gron
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: TomHudson.gron from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment