Automic VaultAutomic Vault

brew / approval gates

Install jq with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Lightweight and flexible command-line JSON processor. Version 1.8.2 via Homebrew; verified 2026-06-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install jq

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install jq

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

Linux

Alpine Linux apkverified · 92%
sudo apk add jq

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

Debian aptverified · 92%
sudo apt install jq

Debian stable package indexes · jq · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install jq

Fedora Rawhide package metadata · jq · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#jq

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

Arch Linux pacmanverified · 92%
sudo pacman -S jq

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

openSUSE zypperverified · 92%
sudo zypper install jq

openSUSE Tumbleweed package metadata · jq · source: download.opensuse.org

overview

Package summary

Lightweight and flexible command-line JSON processor

Commands and aliases

  • jq

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

approval gates

Human review metadata for risky commands

The local approval-gate seed includes 3 rules for jq. Covered entrypoints: jq. Severity labels: low, medium. Coverage: partial, reviewed 2026-05-21.

Example gated actions

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

executables

Installed executables

CommandKindExposureNote
jqcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.8.2
manager updated2026-06-20
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/jqlang/jq

install metadata

Package metadata

Package keybrew:jq
Version1.8.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/jq
Homepagehttps://jqlang.github.io/jq/
Repositoryhttps://github.com/jqlang/jq
Upstream docshttps://jqlang.github.io/jq/manual
LicenseMIT
Source archivehttps://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-1.8.2.tar.gz
Last updated2026-06-20T16:30:04Z
Pulseupdated
Dependenciesoniguruma
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/jq.yml

Used sources

  • 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