# Install jaq with Homebrew, apk, MacPorts, Nix, pacman, scoop, zypper

JQ clone focussed on correctness, speed, and simplicity. Version 3.1.0 via Homebrew; verified 2026-06-11.

## Install

```sh
sudo av install brew:jaq
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jaq
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jaq
```

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

### Linux

- apk (92%):

```sh
sudo apk add jaq
```

  Evidence: Alpine Linux edge package indexes: jaq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#jaq
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ja/jaq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S jaq
```

  Evidence: Arch Linux sync databases: jaq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install jaq
```

  Evidence: openSUSE Tumbleweed package metadata: jaq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/jaq
```

  Evidence: Scoop official bucket manifest trees: bucket/jaq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:jaq
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jaq>
- **Version:** 3.1.0
- **Source summary:** JQ clone focussed on correctness, speed, and simplicity
- **Homepage:** <https://github.com/01mf02/jaq>
- **Repository:** <https://github.com/01mf02/jaq>
- **Upstream docs:** <https://gedenkt.at/jaq/manual>
- **License:** MIT
- **Source archive:** <https://github.com/01mf02/jaq/archive/refs/tags/v3.1.0.tar.gz>
- **Last updated:** 2026-06-11T19:54:56Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- jaq (cli)
- jaq (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 3.1.0
- Package-manager updated: 2026-06-11
- Local data: ok
- Upstream repository: https://github.com/01mf02/jaq
- Upstream latest detected: v3.1.0 (current)
## Project history and usage

jaq is a Rust implementation of the jq language and command-line JSON processing workflow, focused on correctness, speed, and simplicity. It is both a `jaq` executable for shell pipelines and a Rust library, `jaq-core`, for embedding jq-like filters in applications.

### Project history

The GitHub repository was created in December 2020. The README says jaq was originally motivated by the startup time of jq 1.6 and later kept its focus on correctness, performance, and a small implementation that is easier to audit and contribute to.

The project expanded beyond JSON-only jq compatibility. The README and manual document YAML, CBOR, TOML, XML, CSV, TSV, byte strings, non-string object keys, in-place replacement, and explicit documentation of divergences from jq. Release notes for the 3.0 line describe multi-format support as a major shift, effectively making jaq a structured-data transformation tool rather than only a jq clone.

### Adoption history

jaq spread through Rust and package-manager channels: the README links crates.io/docs.rs badges for `jaq-core`, binary releases for Linux, macOS, and Windows, Homebrew install commands, and a Repology packaging badge. Homebrew API data available during this enrichment recorded 2,232 installs over 365 days.

The project also gained formal support and review. The README credits NLnet and NGI0 funding, and its security section records Radically Open Security audits tied to NLnet grants, with audit findings addressed and fuzzing targets added.

### How it is used

Users can treat `jaq` as a drop-in `jq` replacement for many filters, use it to transform JSON and other structured formats, or embed `jaq-core` in Rust programs. The manual covers the CLI, jq core language, standard library, advanced features, supported formats, examples, and documented compatibility differences.

### Why package nerds care

jaq matters to package nerds because it is a modern reimplementation of a beloved Unix data-filter language with a Rust library boundary, strong benchmarking culture, audit notes, and multi-format ambitions. It is the kind of package users install when they care about jq semantics, startup cost, embedding, and structured-data plumbing.

### Timeline

- 2020: GitHub repository created for the Rust jq clone.
- 2024: v2.0.1 release notes focused on command-line flag behavior such as `--null-input`, `--slurpfile`, and `--from-file`.
- 2025: v2.2.0 release notes recorded path-related language work and noted that jaq-core had been audited by Radically Open Security.
- 2025: v3.0.0-alpha release notes introduced a new manual and support for YAML, CBOR, TOML, and XML under NLnet-backed work.
- 2026: v3.0.0 release notes described multi-format support for YAML, CBOR, TOML, XML, CSV, TSV, and JSON.
- 2026: v3.1.0 release notes added jq's `input_filename` filter and compatibility fixes.

### Related projects

- jaq is directly related to jq, gojq, the jq language specification work linked from its manual, and Rust crates such as `jaq-core`, `jaq-json`, `jaq-all`, and `jaq-fmts`. The README also mentions hifijson as a related parser project with fuzzing history.

### Sources

- <https://api.github.com/repos/01mf02/jaq>
- <https://api.github.com/repos/01mf02/jaq/releases?per_page=10>
- <https://formulae.brew.sh/api/formula/jaq.json>
- <https://gedenkt.at/jaq/manual/>
- <https://github.com/01mf02/jaq>
- <https://raw.githubusercontent.com/01mf02/jaq/main/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jaq
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** json2tsv
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - jaq: normalized package name match | nixpkgs package indexes: pkgs/by-name/ja/jaq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - jaq - 2.3.0-r0: normalized package name match | Alpine Linux edge package indexes: jaq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | jq clone focused on correctness, speed and simplicity | https://github.com/01mf02/jaq
- apk - jaq-doc - 2.3.0-r0: normalized package name match | Alpine Linux edge package indexes: jaq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | jq clone focused on correctness, speed and simplicity (documentation) | https://github.com/01mf02/jaq
- pacman - jaq - 3.0.0-1: normalized package name match | Arch Linux sync databases: jaq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A jq clone focussed on correctness, speed, and simplicity | https://github.com/01mf02/jaq
- zypper - jaq - 2.3.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: jaq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | jq clone in Rust | https://github.com/01mf02/jaq
- MacPorts - jaq: normalized package name match | MacPorts ports tree: textproc/jaq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/jaq: normalized package name match | Scoop official bucket manifest trees: bucket/jaq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [gron](https://www.automicvault.com/pkg/brew/gron/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json.
- [gojq](https://www.automicvault.com/pkg/brew/gojq/) - Shares av.db curated category or tags: cli, developer-tools, jq, json, query-language.
- [jnv](https://www.automicvault.com/pkg/brew/jnv/) - Shares av.db curated category or tags: cli, developer-tools, jq, json, rust.
- [oq](https://www.automicvault.com/pkg/brew/oq/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, jq, json.
- [python-yq](https://www.automicvault.com/pkg/brew/python-yq/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, jq, json.
- [yq](https://www.automicvault.com/pkg/brew/yq/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json.
- [dasel](https://www.automicvault.com/pkg/brew/dasel/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json.
- [fracturedjson](https://www.automicvault.com/pkg/brew/fracturedjson/) - Shares av.db curated category or tags: cli, developer-tools, json.

## Combined YAML source

View the package source record on GitHub. [combined/jaq.yml](https://github.com/automic-vault/db/blob/main/combined/jaq.yml)


## Sources

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