Run Jq As Binary In Windows

Source URL: https://stackoverflow.com/questions/53967693/how-to-run-jq-from-gitbash-in-windows/70338666#70338666

Language: whatever

Created on: 2021-12-13 17:33:16

curl -L -o jq-win64.exe https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe

export PATH=$PATH:"/C/Users/devops/Downloads/jq-win64.exe

jq --version

jq-1.6
I have gitbash in Windows. I am trying to run jq but its giving me error. $ ./jq-win64.exe jq parse error: Invalid numeric literal at line 2, column 0 Intention: I want to use jq to parse json.
content_copy