Most major Linux distributions include in their official repositories. Use the command corresponding to your package manager: Ubuntu / Debian / Linux Mint / Kali: sudo apt-get install jq
sudo dnf install jq (or sudo yum install jq for older versions) Arch Linux / Manjaro: sudo pacman -S jq openSUSE: sudo zypper install jq Snap (Universal): sudo snap install jq Alternative: Download Prebuilt Binaries download linux jq
If you don't have root access or prefer not to use a package manager, you can download a standalone binary directly from the official jq website . Most major Linux distributions include in their official
For system-wide access, move it to /usr/local/bin/jq . Download and install for Linux to efficiently parse,
Download and install for Linux to efficiently parse, filter, and transform JSON data directly from your terminal. Often described as "sed for JSON", jq is a lightweight, zero-dependency C-based tool that has become an industry standard for DevOps and developers working with APIs. Quick Installation by Distribution
# Example manual download and setup wget https://github.com chmod +x jq-linux-amd64 sudo mv jq-linux-amd64 /usr/local/bin/jq Use code with caution. Why Use jq? Download jq
Find the version for your architecture (e.g., jq-linux-amd64 ). Make it executable: Run chmod +x jq-linux-amd64 .