(01)Install jq
Linux
1sudo apt-get install -y jqCommand-line JSON processor — parse APIs and config files
What is this?
jq filters and transforms JSON — essential for parsing API responses in shell scripts.
Step 01
1sudo apt-get install -y jqStep 02
1echo '{"name":"dev"}' | jq '.name'2curl -s api.github.com/repos/user/repo | jq '.stargazers_count'Step 03
1jq --version