Automic VaultAutomic Vault

brew / 审批门

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 jq

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install jq

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install jq

MacPorts ports tree · sysutils/jq/Portfile · 来源: api.github.com

Linux

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

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

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

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

Fedora dnf已验证 · 92%
sudo dnf install jq

Fedora Rawhide package metadata · jq · 来源: dl.fedoraproject.org

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

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

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

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

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

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

概览

软件包摘要

Lightweight and flexible command-line JSON processor

历史

项目历史与用法

jq is the canonical command-line JSON processor: a small C program and language for slicing, filtering, mapping, and transforming structured JSON data. The official site describes it as doing for JSON what `sed`, `awk`, `grep`, and related tools do for text.

项目历史

jq was created by Stephen Dolan and grew into a standalone query language with filters, pipes, generators, functions, modules, streaming input, and a C library. Its zero-runtime-dependency binary made it easy to distribute in scripts, containers, CI jobs, and production debugging environments.

The public release line was already established by jq 1.3 in May 2013 and jq 1.4 in June 2014. jq 1.5 in August 2015 added substantial language features including datetime, math, regular-expression functions, try/catch syntax, destructuring, a streaming parser, and a module system. jq 1.6 followed in November 2018.

After a five-year gap, jq governance moved into the jqlang GitHub organization. The 1.7 release in September 2023 credited the new organization, new maintainers and admins, Stephen Dolan's repository transfer, updated CI and release infrastructure, broader platform binaries, Docker images from GitHub Container Registry, and OSS-Fuzz integration.

采用历史

jq became a default tool for API users, shell programmers, SREs, CI maintainers, and package authors because JSON became the lingua franca of web APIs and cloud CLIs. It is packaged across Homebrew, Linux distributions, MacPorts, Nix, Chocolatey, Scoop, winget, and other ecosystems, and its filters are routinely embedded in documentation and automation snippets.

使用方式

Common usage ranges from pretty-printing and extracting fields to reshaping API responses, validating shell pipeline output, transforming config data, and writing reusable jq modules. Its single-binary distribution model also makes it popular in containers and remote machines where installing a language runtime would be heavier.

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

jq is one of the defining package-manager CLIs of the JSON era. Package nerds care about it because it is both a tiny executable and a language ecosystem: build systems depend on it, tests shell out to it, release pipelines parse with it, and downstream tools such as gojq, jaq, fq, jq-lsp, playgrounds, and editor integrations orbit its syntax and behavior.

时间线

  • 2013-05-19: jq 1.3 was released.
  • 2014-06-09: jq 1.4 was released.
  • 2015-08-15: jq 1.5 was released with major language and parser features.
  • 2018-11-01: jq 1.6 was released.
  • 2023-09-07: jq 1.7 was released after a five-year hiatus under the jqlang organization.
  • 2023-12-13: jq 1.7.1 was released with security and bug fixes.
  • 2025-06-01: jq 1.8.0 was released.
  • 2026-06-20: jq 1.8.2 was released with security fixes, bug fixes, and additional builds.

Related projects

  • Related projects include gojq, jaq, fq, jq-lsp, vscode-jq, jqlang/awesome-jq, play.jqlang.org, and package-manager formulas that distribute jq as a ubiquitous scripting dependency.

审批门

高风险命令的人工审核元数据

本地审批门种子包含 3 条适用于 jq 的规则。覆盖的入口点:jq。严重级别:低, 中。覆盖状态:partial,审核于 2026-05-21。

受控操作示例

  • Read additional JSON data from local files.
  • Read and execute jq test definitions.
  • Emit shell-escaped strings that may be consumed by another command.

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本1.8.2
管理器更新时间2026-06-20
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/jqlang/jq

安装元数据

软件包元数据

软件包键brew:jq
版本1.8.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/jq
主页https://jqlang.github.io/jq/
仓库https://github.com/jqlang/jq
上游文档https://jqlang.github.io/jq/manual
许可证MIT
源码归档https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-1.8.2.tar.gz
最后更新2026-06-20T16:30:04Z
Pulseupdated
依赖oniguruma
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejq
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%

jq 1.7.1-6+deb13u2

lightweight and flexible command-line JSON processor

https://jqlang.github.io/jq

sudo apt install jq
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Jq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: jq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjq-dev 1.7.1-6+deb13u2

lightweight and flexible command-line JSON processor - development files

https://jqlang.github.io/jq

sudo apt install libjq-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: jq
  • 1 依赖
  • normalized package name match
  • 匹配方式:Jq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjq-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjq1 1.7.1-6+deb13u2

lightweight and flexible command-line JSON processor - shared library

https://jqlang.github.io/jq

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

jq

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

jq 1.7.1-3build1

lightweight and flexible command-line JSON processor

https://jqlang.github.io/jq

sudo apt install jq
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Jq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: jq from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libjq-dev 1.7.1-3build1

lightweight and flexible command-line JSON processor - development files

https://jqlang.github.io/jq

sudo apt install libjq-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: jq
  • 1 依赖
  • normalized package name match
  • 匹配方式:Jq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjq-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libjq1 1.7.1-3build1

lightweight and flexible command-line JSON processor - shared library

https://jqlang.github.io/jq

sudo apt install libjq1
  • Section: utils
  • Architecture: amd64
  • Source Package: jq
  • 2 依赖
  • normalized package name match
  • 匹配方式:Jq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjq1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

jq 1.8.1-r0

A lightweight and flexible command-line JSON processor

https://jqlang.github.io/jq/

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

jq-dev 1.8.1-r0

A lightweight and flexible command-line JSON processor (development files)

https://jqlang.github.io/jq/

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

jq-doc 1.8.1-r0

A lightweight and flexible command-line JSON processor (documentation)

https://jqlang.github.io/jq/

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

jq 1.8.1-3.fc45

Command-line JSON processor

https://jqlang.org/

sudo dnf install jq
  • License: MIT AND ICU AND CC-BY-3.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: jq
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Jq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: jq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

jq-devel 1.8.1-3.fc45

Development files for jq

https://jqlang.org/

sudo dnf install jq-devel
  • License: MIT AND ICU AND CC-BY-3.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: jq
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Jq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: jq-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

jq 1.8.1-3

Command-line JSON processor

https://jqlang.github.io/jq/

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

jq 1.8.1-3.1

A lightweight and flexible command-line JSON processor

https://github.com/jqlang

sudo zypper install jq
  • License: CC-BY-3.0 AND MIT
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: jq
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Jq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: jq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libjq-devel 1.8.1-3.1

Development files for jq

https://github.com/jqlang

sudo zypper install libjq-devel
  • License: CC-BY-3.0 AND MIT
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: jq
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Jq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libjq-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libjq1 1.8.1-3.1

Library for a lightweight and flexible command-line JSON processor

https://github.com/jqlang

sudo zypper install libjq1
  • License: CC-BY-3.0 AND MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: jq
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Jq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libjq1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

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

Combined YAML source

View the package source record on GitHub.

combined/jq.yml

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • 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