jx

Crates.iojx
lib.rsjx
version0.8.0
created_at2023-09-14 02:11:42.763264+00
updated_at2026-01-13 23:53:08.447891+00
descriptionAn interactive JSON explorer for the command line
homepagehttps://github.com/sqwxl/jx
repositoryhttps://github.com/sqwxl/jx
max_upload_size
id972138
size154,049
Nicolas Epstein (sqwxl)

documentation

https://github.com/sqwxl/jx

README

jx

crates.io

jx examples/reference.json                   # open a JSON file directly
curl example.com/some-json-endpoint | jx     # ...or pipe it in
image

Installation

Homebrew

brew install sqwxl/tap/jx

Linux / macOS

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sqwxl/jx/releases/latest/download/jx-installer.sh | sh

Install from source

cargo install --path .

Usage

Key Action
? Show help
qC-c Quit
j / k Next/Previous
h / l In/Out
C-y / C-e Scroll line up/down
u / d Scroll half page up/down
b / f Scroll full page up/down
g / G Go to top/bottom
< / > Scroll left/right
SpaceEnter Toggle a fold
z Toggle all folds
/ Search
n / N Go to next/previous search match
Esc Clear search
y / Y Copy the selection/value (pretty)
A-y / A-Y Copy the selection/value (raw)
o / O Output the selection/value (pretty)
A-o / A-O Output the selection/value (raw)
# Toggle line numbering
w Toggle line wrapping
Commit count: 87

cargo fmt