Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing JQ on windows

Tags:

jq

chocolatey

I have been trying to install jq using chocoletey

However, when I run the following command, it fails.

choco install jq

Reading the log file, I see that it is pointing the Powershell script is pointing at a ULR that doesn't exist any more

Attempt to get headers for http://stedolan.github.io/jq/download/win64/jq.exe failed.

I tried update the powershell script but choco install still not working for me. Can anyone help me out please.

like image 771
Hamid Shahid Avatar asked Dec 11 '25 19:12

Hamid Shahid


1 Answers

Resolved it after reading details from the following pull-request.

https://github.com/stedolan/jq/issues/959

The solution is to pass -version 1.5 to the install command. The following works just fine.

choco install jq --force -version 1.5
like image 118
Hamid Shahid Avatar answered Dec 13 '25 10:12

Hamid Shahid



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!