25 unstable releases (7 breaking)
| 0.8.1 | Jan 30, 2026 |
|---|---|
| 0.7.0 | Jan 12, 2026 |
| 0.5.8 | Dec 30, 2025 |
| 0.5.0 | Feb 18, 2025 |
| 0.1.0 | Sep 14, 2023 |
#228 in Text processing
93KB
2.5K
SLoC
jx
jx examples/reference.json # open a JSON file directly
curl example.com/some-json-endpoint | jx # ...or pipe it in
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 |
Dependencies
~4–22MB
~280K SLoC