• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

processor

JQ on GitBash

July 7, 2021

JQ is a json processor. It’s for slicing and dicing data.

Download

To install on GitBash, unzip the file and copy the executable to /usr/bin.

mv jq-win64.exe to /usr/bin/jq.exe

mv jq-win64.exe to /usr/bin/jq.exe

Create an alias. Edit ~/.bashrc.

alias jq='/usr/bin/jq.exe'

alias jq='/usr/bin/jq.exe'

Using JQ.

jq --version
jq '.selfLink' vm.json

jq --version jq '.selfLink' vm.json

Filed Under: Linux Tagged With: gitbash, install, jq, json, processor

  • Home
  • About
  • Archives

Copyright © 2023