# 使用 Homebrew, Nix, zypper, scoop, winget 安装 jsongrep

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

## 安装

```sh
sudo av install brew:jsongrep
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jsongrep
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jsongrep
```

  证据: nixpkgs package indexes: pkgs/by-name/js/jsongrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install jsongrep
```

  证据: openSUSE Tumbleweed package metadata: jsongrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/jsongrep
```

  证据: Scoop official bucket manifest trees: bucket/jsongrep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id micahkepe.jsongrep -e
```

  证据: Windows Package Manager source index: micahkepe.jsongrep from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:jsongrep
- **软件包管理器:** Homebrew
- **版本:** 0.9.0
- **来源摘要:** Query tool for JSON, YAML, TOML, and other structured formats
- **主页:** <https://github.com/micahkepe/jsongrep>
- **仓库:** <https://github.com/micahkepe/jsongrep>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jg (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.9.0
## 项目历史与用法

jsongrep is a Rust command-line tool and library for querying JSON, YAML, TOML, JSONL, CBOR, and MessagePack documents with regular path expressions. Its executable is `jg`.

### 项目历史

Micah Kepe's repository was created on August 8, 2025. The README frames the project as a path-query tool rather than a general transformation language: users describe sets of paths through a document tree, and the engine finds matches.

The changelog shows rapid early iteration in 2026, including version 0.5.0 and 0.5.1 on February 14, 2026 and version 0.9.0 on April 18, 2026. The 0.9.0 entry added an interactive WASM playground and a porcelain output mode.

### 采用历史

By 2026 the README documented installation through Homebrew, Winget, Scoop, and Cargo, and the input package facts list additional Nix and zypper packaging. That is unusually broad distribution for a young structured-data query CLI.

### 使用方式

The README examples use `jg` to query nested paths, match fixed field names at any depth with `-F`, compare common path searches with jq, and pretty-print JSON. Kepe's blog explains the model as regular expressions over tree edges rather than text characters.

### 为什么软件包爱好者会关心

jsongrep is significant as a modern Rust take on the `grep for structured data` idea. Package nerds care because it joins jq, JSONPath, JMESPath, gron, and jql in the crowded but still active space of command-line data inspection.

### 时间线

- 2025-08-08: The GitHub repository was created.
- 2026-02-14: The changelog recorded releases 0.5.0 and 0.5.1.
- 2026-02-28: The author published a technical blog post about jsongrep's query model and benchmarks.
- 2026-04-18: Version 0.9.0 added the WASM playground and porcelain output.

### Related projects

- jsongrep is directly compared with jq in its README and blog. It is also adjacent to JSONPath, JMESPath, jql, gron, and Rust structured-data parsers for YAML, TOML, CBOR, and MessagePack.

### 来源

- <https://api.github.com/repos/micahkepe/jsongrep>
- <https://crates.io/crates/jsongrep>
- <https://formulae.brew.sh/formula/jsongrep>
- <https://github.com/micahkepe/jsongrep>
- <https://github.com/micahkepe/jsongrep/blob/main/CHANGELOG.md>
- <https://micahkepe.com/blog/jsongrep/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - jsongrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/js/jsongrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - jsongrep - 0.9.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: jsongrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI for fast querying of JSON, YAML, TOML, JSONL, CBOR, and MessagePack documents | https://github.com/micahkepe/jsongrep
- zypper - jsongrep-bash-completion - 0.9.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: jsongrep-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for jsongrep | https://github.com/micahkepe/jsongrep
- zypper - jsongrep-fish-completion - 0.9.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: jsongrep-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for jsongrep | https://github.com/micahkepe/jsongrep
- zypper - jsongrep-zsh-completion - 0.9.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: jsongrep-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for jsongrep | https://github.com/micahkepe/jsongrep
- Scoop - main/jsongrep: normalized package name match | Scoop official bucket manifest trees: bucket/jsongrep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - micahkepe.jsongrep: normalized package name match | Windows Package Manager source index: micahkepe.jsongrep from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/jsongrep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jsongrep.yml)


## 来源

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