# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 ijq

查看 ijq 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ijq
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ijq
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ijq
```

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

### Linux

- apk (92%):

```sh
sudo apk add ijq
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ijq
```

  证据: nixpkgs package indexes: pkgs/by-name/ij/ijq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ijq
```

  证据: Arch Linux sync databases: ijq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:ijq
- **软件包管理器:** Homebrew
- **版本:** 1.4.0
- **来源摘要:** Interactive jq
- **主页:** <https://codeberg.org/gpanders/ijq>
- **最后更新:** 2026-07-25T14:44:33Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ijq (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.4.0
## 项目历史与用法

ijq is a terminal interface around jq, built for interactive exploration of JSON filters before reusing them in scripts. Its README describes it as an interactive jq tool, like jqplay for the command line, and notes that jq remains the underlying filter engine.

### 项目历史

The public tag history reaches v0.1.0 in 2020, and the project later moved its primary home to Codeberg while preserving a GitHub mirror for contributions. Release notes for v1.2.0 mention removing remaining SourceHut references, and v1.3.0 tells packagers that ijq lives at Codeberg.

The tool stayed intentionally close to jq rather than becoming a separate query language. Its later evolution added terminal usability features: asynchronous jq subprocess handling for large inputs, an overlay menu, configurable key bindings, filter history, and a config file.

### 采用历史

ijq occupies the package-manager niche for people who already use jq but want fast feedback while building a filter. Homebrew, MacPorts, Nix, Arch, and Alpine package metadata in the input show distribution across Unix-like package ecosystems; Homebrew formula metadata records binary bottles and install analytics.

### 使用方式

A common workflow is to open a JSON file or pipe API output into ijq, edit the jq filter interactively, then press Return to emit the filtered output and save the filter for later jq use. The README also documents history storage under the XDG data path and a config file for changing the history file, jq binary, pane visibility, and key bindings.

### 为什么软件包爱好者会关心

For package nerds, ijq is interesting because it packages an ergonomic shell companion rather than a new data-processing stack. It is small, jq-compatible, and useful in the same workflows where people already install jq, fx, jless, or browser-based jqplay.

### 时间线

- 2020: v0.1.0 appears in the public tag history.
- 2024: v1.1.0 improves UI responsiveness by running jq subprocess work without blocking the main interface.
- 2025: v1.2.0 removes remaining SourceHut references and documents the Codeberg home for packagers.
- 2026: v1.3.0 adds a config file, overlay menu, history management, and Codeberg CI.

### Related projects

- ijq is directly related to jq and jqplay. The README also points to vim-jqplay as similar work, while package users may compare it with adjacent JSON explorers such as fx or jless.

### 来源

- Project README, Codeberg release notes, Codeberg repository metadata, and Homebrew formula metadata.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/ijq/config, ~/.config/ijq/config
## 其他软件包管理器记录

- Nix - ijq: normalized package name match | nixpkgs package indexes: pkgs/by-name/ij/ijq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - ijq - 1.2.0-r8: normalized package name match | Alpine Linux edge package indexes: ijq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Interactive jq tool | https://codeberg.org/gpanders/ijq
- apk - ijq-doc - 1.2.0-r8: normalized package name match | Alpine Linux edge package indexes: ijq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Interactive jq tool (documentation) | https://codeberg.org/gpanders/ijq
- pacman - ijq - 1.4.0-1: normalized package name match | Arch Linux sync databases: ijq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Interactive jq tool, like jqplay for the commandline | https://git.sr.ht/~gpanders/ijq
- MacPorts - ijq: normalized package name match | MacPorts ports tree: textproc/ijq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
