# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 8.1.2
- **来源摘要:** JSON query language CLI tool
- **主页:** <https://github.com/yamafaktory/jql>
- **仓库:** <https://github.com/yamafaktory/jql>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jql (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
