JQ on GitBash
JQ is a json processor. It’s for slicing and dicing data.
To install on GitBash, unzip the file and copy the executable to /usr/bin.
<pre lang="bash">
mv jq-win64.exe to /usr/bin/jq.exe
Create an alias. Edit ~/.bashrc.
<pre lang="bash">
alias jq='/usr/bin/jq.exe'
Using JQ.
<pre lang="bash">
jq --version
jq '.selfLink' vm.json