macOS
brew install jqlocal Homebrew formula metadata
sudo port install jqMacPorts ports tree · sysutils/jq/Portfile · source: api.github.com
brew / approval gates
Lightweight and flexible command-line JSON processor. Version 1.8.2 via Homebrew; verified 2026-06-20.
install
brew install jqlocal Homebrew formula metadata
sudo port install jqMacPorts ports tree · sysutils/jq/Portfile · source: api.github.com
sudo apk add jqAlpine Linux edge package indexes · jq · source: dl-cdn.alpinelinux.org
sudo apt install jqDebian stable package indexes · jq · source: deb.debian.org
sudo dnf install jqFedora Rawhide package metadata · jq · source: dl.fedoraproject.org
nix profile install nixpkgs#jqnixpkgs package indexes · pkgs/by-name/jq/jq/package.nix · source: api.github.com
sudo pacman -S jqArch Linux sync databases · jq · source: geo.mirror.pkgbuild.com
sudo zypper install jqopenSUSE Tumbleweed package metadata · jq · source: download.opensuse.org
choco install jqChocolatey community package catalog · jq · source: community.chocolatey.org
scoop install main/jqScoop official bucket manifest trees · bucket/jq.json · source: api.github.com
winget install --id jqlang.jq -eWindows Package Manager source index · jqlang.jq · source: cdn.winget.microsoft.com
overview
Lightweight and flexible command-line JSON processor
history
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.
approval gates
The local approval-gate seed includes 3 rules for jq. Covered entrypoints: jq. Severity labels: low, medium. Coverage: partial, reviewed 2026-05-21.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jq | cli | global executable |
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.
install metadata
| Package key | brew:jq |
|---|---|
| Version | 1.8.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jq |
| Homepage | https://jqlang.github.io/jq/ |
| Repository | https://github.com/jqlang/jq |
| Upstream docs | https://jqlang.github.io/jq/manual |
| License | MIT |
| Source archive | https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-1.8.2.tar.gz |
| Last updated | 2026-06-20T16:30:04Z |
| Pulse | updated |
| Dependencies | oniguruma |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jq |
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
jq 1.7.1-6+deb13u2
lightweight and flexible command-line JSON processor
sudo apt install jqlibjq-dev 1.7.1-6+deb13u2
lightweight and flexible command-line JSON processor - development files
sudo apt install libjq-devlibjq1 1.7.1-6+deb13u2
lightweight and flexible command-line JSON processor - shared library
sudo apt install libjq1jq
nix profile install nixpkgs#jqjq 1.7.1-3build1
lightweight and flexible command-line JSON processor
sudo apt install jqlibjq-dev 1.7.1-3build1
lightweight and flexible command-line JSON processor - development files
sudo apt install libjq-devlibjq1 1.7.1-3build1
lightweight and flexible command-line JSON processor - shared library
sudo apt install libjq1jq 1.8.1-r0
A lightweight and flexible command-line JSON processor
sudo apk add jqjq-dev 1.8.1-r0
A lightweight and flexible command-line JSON processor (development files)
sudo apk add jq-devjq-doc 1.8.1-r0
A lightweight and flexible command-line JSON processor (documentation)
sudo apk add jq-docjq 1.8.1-3.fc45
Command-line JSON processor
sudo dnf install jqjq-devel 1.8.1-3.fc45
Development files for jq
sudo dnf install jq-develjq 1.8.1-3
Command-line JSON processor
sudo pacman -S jqjq 1.8.1-3.1
A lightweight and flexible command-line JSON processor
sudo zypper install jqlibjq-devel 1.8.1-3.1
Development files for jq
sudo zypper install libjq-devellibjq1 1.8.1-3.1
Library for a lightweight and flexible command-line JSON processor
sudo zypper install libjq1source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.