# jqfmt を Homebrew, Nix でインストール

jqfmt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install jqfmt
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:jqfmt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/jqfmt>
- **バージョン:** 0.1.0
- **ソース概要:** Opinionated formatter for jq
- **ホームページ:** <https://github.com/noperator/jqfmt>
- **リポジトリ:** <https://github.com/noperator/jqfmt>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/noperator/jqfmt/archive/refs/tags/v0.1.0.tar.gz>
- **最終更新:** 2026-07-25T20:58:05-04:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- jqfmt (cli)
- jqfmt (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.1.0
- マネージャ更新日: 2026-07-25
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/noperator/jqfmt
- 検出された最新: v0.1.0 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [jqp](https://pkg.so/ja/brew/jqp/) - Shares pkgdb curated category or tags: cli, developer-tools, jq, json, json-processing.
- [jq](https://pkg.so/ja/brew/jq/) - Shares pkgdb curated category or tags: cli, developer-tools, json, json-processing.
- [shfmt](https://pkg.so/ja/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [buildifier](https://pkg.so/ja/brew/buildifier/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [astyle](https://pkg.so/ja/brew/astyle/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [oxfmt](https://pkg.so/ja/brew/oxfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [air](https://pkg.so/ja/brew/air/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [beautysh](https://pkg.so/ja/brew/beautysh/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.

## Combined YAML source

View the package source record on GitHub. [combined/jqfmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jqfmt.yml)


## ソース

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