Command-line tool
jq
brew/jq
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Lightweight and flexible command-line JSON processor jq
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id jqlang.jq -e scoop install jq cargo install jq
macOS
brew install jq cargo install jq
Linux
brew install jq cargo install jq
Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output)
jq '.' path/to/file.json
Execute a specific script
cat path/to/file.json | jq -f path/to/script.jq
Pass specific arguments
cat path/to/file.json | jq --arg "name1" "value1" --arg "name2" "value2" ... '. + $ARGS.named'
Related command-line tools
- xslt3
SaxonJS XSLT 3.0 processor: command line interface to SaxonJS xslt xslt3.0 xpath3.1 xpath xml saxon dom json xsl… - gomplate
Command-line Golang template processor - osmosis
Command-line OpenStreetMap data processor - nconvert
A command line batch image processor that is compatible with several image formats. - python-yq
Command-line YAML and XML processor that wraps jq - allure
Flexible lightweight test report tool - polykill
Lightweight command line utility for removing dependencies and build artifacts from unused projects. - xcp
Fast & lightweight command-line tool for managing Xcode projects, built in Swift cli files sharepoint microsoft-365 copy
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents