# 使用 Homebrew, apk, dnf, MacPorts, Nix 安装 jql

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

## 安装

```sh
sudo av install brew:jql
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jql
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jql
```

  证据: MacPorts ports tree: textproc/jql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jql
```

  证据: Alpine Linux edge package indexes: jql from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install jql
```

  证据: Fedora Rawhide package metadata: jql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#jql
```

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

## 软件包事实

- **软件包键:** brew:jql
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jql>
- **版本:** 8.1.2
- **来源摘要:** JSON query language CLI tool
- **主页:** <https://github.com/yamafaktory/jql>
- **仓库:** <https://github.com/yamafaktory/jql>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/yamafaktory/jql/archive/refs/tags/jql-v8.1.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jql (cli)
- jql (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 8.1.2
- 本地数据: OK
- 上游仓库: https://github.com/yamafaktory/jql
- 检测到的最新版本: jql-v8.1.2 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

jql is a Rust command-line JSON query language and runner. It positions itself as a fast, lightweight, deliberately simple JSON selection tool rather than a jq-compatible language.

### 项目历史

The Rust crate metadata dates the jql package to 2018-10-06. The repository later settled into a workspace with the jql binary plus jql-parser and jql-runner library crates, exposing the parser and execution pieces as reusable Rust packages.

### 采用历史

jql has broader packaging than most niche JSON CLIs in this batch. Its README lists installation routes through Alpine, Arch AUR, Cargo, Cargo Binstall, Fedora, FreeBSD, Homebrew, Nix, openSUSE, and GitHub release binaries. Crates.io reported 248,530 total downloads and 3,640 recent downloads for the jql crate on 2026-07-01.

### 使用方式

jql accepts a query token sequence and returns JSON, with object selectors, array selectors, ranges, flattening, key extraction, streaming line-by-line input, validation, inline output, raw string output, and file-based queries. The README explicitly says there is no plan to align jql with jq or similar tools.

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

For package collectors, jql is interesting as one of several post-jq experiments that treat JSON querying as a compact shell primitive but choose a new grammar. Its split crates also make it more library-shaped than a single binary-only utility.

### 时间线

- 2018: Crates.io recorded the jql crate creation on 2018-10-06.
- 2026: The GitHub release feed recorded jql, jql-parser, and jql-runner 8.1.x releases on 2026-03-18.
- 2026: Homebrew formula API packaged jql 8.1.2 from the jql-v8.1.2 GitHub archive.

### Related projects

- jql is related to jq by domain rather than compatibility. Within its own repository, the most direct related projects are the jql-parser and jql-runner crates.

### 来源

- <https://crates.io/crates/jql>
- <https://docs.rs/jql-parser/latest/jql_parser/>
- <https://docs.rs/jql-runner/latest/jql_runner/>
- <https://formulae.brew.sh/api/formula/jql.json>
- <https://github.com/yamafaktory/jql>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jql
- **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:** head, stable

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

- Nix - jql: normalized package name match | nixpkgs package indexes: pkgs/by-name/jq/jql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - jql - 8.1.2-r0: normalized package name match | Alpine Linux edge package indexes: jql from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A JSON Query Language CLI tool | https://github.com/yamafaktory/jql
- dnf - jql - 8.1.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: jql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | JQL is a fast and simple command-line tool to manipulate JSON data | https://crates.io/crates/jql
- MacPorts - jql: normalized package name match | MacPorts ports tree: textproc/jql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [jq](https://pkg.so/zh-hans/brew/jq/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools, json, query-language.
- [jaq](https://pkg.so/zh-hans/brew/jaq/) - Shares pkgdb curated category or tags: cli, developer-tools, json, query-language, rust.
- [sbjson](https://pkg.so/zh-hans/brew/sbjson/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools, json.
- [jnv](https://pkg.so/zh-hans/brew/jnv/) - Shares pkgdb curated category or tags: cli, developer-tools, json, rust.
- [gojq](https://pkg.so/zh-hans/brew/gojq/) - Shares pkgdb curated category or tags: cli, developer-tools, json, query-language.
- [csview](https://pkg.so/zh-hans/brew/csview/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools.
- [fblog](https://pkg.so/zh-hans/brew/fblog/) - Shares pkgdb curated category or tags: cli, developer-tools, json, rust.
- [csvprintf](https://pkg.so/zh-hans/brew/csvprintf/) - Shares pkgdb curated category or tags: cli, data-tools, developer-tools.

## Combined YAML source

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


## 来源

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