Getting started with jq – Installation or Setup

Detailed instructions on getting jq set up or installed.

Install on Mac

Using brew:

$ brew install jq

Then test:

$ echo '{"name": "john"}'
{"name": "john"}

$ echo '{"name": "john"}' | jq '.'
{
  "name": "john"
}

$ echo '{"name": "john"}' | jq '.name'
"john"

if you want to reproduce, please indicate the source:
Getting started with jq – Installation or Setup - CodeDay