# Install jqfmt with Homebrew, Nix

Opinionated formatter for jq. Version 0.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:jqfmt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jqfmt
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jqfmt
```

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

## Package facts

- **Package key:** brew:jqfmt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jqfmt>
- **Version:** 0.1.0
- **Source summary:** Opinionated formatter for jq
- **Homepage:** <https://github.com/noperator/jqfmt>
- **Repository:** <https://github.com/noperator/jqfmt>
- **Upstream docs:** <https://github.com/noperator/jqfmt#readme>
- **License:** MIT
- **Source archive:** <https://github.com/noperator/jqfmt/archive/refs/tags/v0.1.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jqfmt (cli)
- jqfmt (alias)

## Build dependencies

- go

## 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-08
- Package-manager version: 0.1.0
- Local data: ok
- Upstream repository: https://github.com/noperator/jqfmt
- Upstream latest detected: v0.1.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

jqfmt is a small Go command-line formatter for jq programs, built for the practical problem of reading long shell one-liners that contain dense jq expressions.

### Project history

The README describes jqfmt as an opinionated formatter written after the author found long jq-heavy shell snippets difficult to inspect. Its implementation began from code taken out of itchyny/gojq's query parser because gojq did not expose the parser and AST walking API the author wanted.

### Adoption history

Adoption evidence is modest and package-manager oriented: Homebrew packages jqfmt from its v0.1.0 GitHub tag, and the input batch also records Nix packaging. Homebrew analytics for the formula showed 92 installs over the 365-day window reported by the formula API on 2026-07-01.

### How it is used

jqfmt reads jq expressions from a file or standard input and adds line breaks around selected structures such as objects, arrays, pipes, and operators. It is meant as a readability tool rather than a replacement for jq itself.

### Why package nerds care

The tool is notable because jq has many linters, wrappers, and JSON formatters, but fewer dedicated formatters for jq's own query language. jqfmt also illustrates a common small-tool pattern: extract just enough parser machinery from an implementation such as gojq to make a narrow CLI utility.

### Timeline

- 2025: GitHub release feed recorded v0.1.0 as the initial release.
- 2026: Homebrew formula API packaged v0.1.0 from the GitHub release archive.

### Related projects

- jqfmt is closely related to jq, gojq, jqjq, and other jq-adjacent utilities that parse or transform jq programs rather than JSON data alone.

### Sources

- <https://formulae.brew.sh/api/formula/jqfmt.json>
- <https://github.com/itchyny/gojq>
- <https://github.com/noperator/jqfmt>
- <https://github.com/noperator/jqfmt/releases/tag/v0.1.0>


## 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:** jqfmt
- **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:** head, stable

## Other Package-Manager Records

- Nix - jqfmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/jq/jqfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [fracturedjson](https://www.automicvault.com/pkg/brew/fracturedjson/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters, json.
- [jqp](https://www.automicvault.com/pkg/brew/jqp/) - Shares av.db curated category or tags: cli, developer-tools, jq, json, json-processing.
- [beautysh](https://www.automicvault.com/pkg/brew/beautysh/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [buildifier](https://www.automicvault.com/pkg/brew/buildifier/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [cljfmt](https://www.automicvault.com/pkg/brew/cljfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [dfmt](https://www.automicvault.com/pkg/brew/dfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [dockerfmt](https://www.automicvault.com/pkg/brew/dockerfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [fnlfmt](https://www.automicvault.com/pkg/brew/fnlfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [jello](https://www.automicvault.com/pkg/brew/jello/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, json, json-processing.

## Combined YAML source

View the package source record on GitHub. [combined/jqfmt.yml](https://github.com/automic-vault/db/blob/main/combined/jqfmt.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
