jq Getting started with jq Installation or Setup


Example

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"