interactive jq repl - live filter evaluation with syntax highlighting and auto completion.
built on qj - the fast jq-compatible filter engine.
iq file.json
cat data.json | iq
-i, --indent <INDENT> indent size [default: 4]
-h, --help print help
-V, --version print version
paru -S iq-bin
brew install hyperpuncher/tap/iq
cargo install --git https://github.com/hyperpuncher/iq
or grab a binary from the latest release.
| key | action |
|---|---|
| tab | cycle completion (popup opens on type) |
| enter | accept popup, else push history + copy query |
| shift+enter | copy output, print to stdout, exit |
| up/down | cycle popup / history (empty input) |
| left/right | move cursor |
| home/end | cursor to line edges |
| backspace/del | delete left/right char |
| pgup/pgdn | page scroll |
| mouse wheel | scroll |
| ctrl+c / ctrl+d | quit |
| esc | close popup, else quit |
| f1 | debug overlay |
entercopies the current filter (query) to clipboard.shift+entercopies the full output to clipboard, prints it to stdout with syntax highlighting, and exits.
just build
just run file.json
MIT