Move it to your path (Optional):To run jq from any directory, move it to /usr/local/bin. sudo mv jq-linux64 /usr/local/bin/jq Method 3: Installing via Snap or Homebrew
If you want to pull only the "id" field from a list of objects: cat results.json | jq '.[].id' Filtering Results
Verify the installation:Check the version to confirm it was installed correctly. jq --version Method 2: Downloading the Binary for Portability download jq kali
Command Not Found: If you moved the binary to a custom folder, ensure that folder is included in your $PATH variable.
Go to the official releases page:Visit the GitHub repository for jqlang/jq. Move it to your path (Optional):To run jq
Once you have downloaded jq, you can start testing it with simple commands. Prettify JSON
Many modern security tools—such as Amass, Subfinder, or Nuclei—output results in JSON format. Manually reading these files is tedious and prone to error. With jq, you can: Go to the official releases page:Visit the GitHub
Method 1: Installing jq via the Official Repository (Recommended)