Command:
apt-cyg install jq
Result:
$ apt-cyg install jq Installing jq --2022-06-08 10:48:43-- http://cygwin.mirrors.hoobly.com//x86_64/release/jq/jq- 1.6-1.tar.xz Resolving cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)... 69.64.41.166 Connecting to cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)|69.64.41.166 |:80... connected. HTTP request sent, awaiting response... 200 OK Length: 55052 (54K) [application/x-xz] Saving to: `jq-1.6-1.tar.xz' jq-1.6-1.tar.xz 100%[===================>] 53.76K 93.0KB/s in 0.6s 2022-06-08 10:48:45 (93.0 KB/s) - `jq-1.6-1.tar.xz' saved [55052/55052] jq-1.6-1.tar.xz: OK Unpacking... Package jq requires the following packages, installing: cygwin libjq1 Package cygwin is already installed, skipping Installing libjq1 --2022-06-08 10:48:47-- http://cygwin.mirrors.hoobly.com//x86_64/release/jq/lib jq1/libjq1-1.6-1.tar.xz Resolving cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)... 69.64.41.166 Connecting to cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)|69.64.41.166 |:80... connected. HTTP request sent, awaiting response... 200 OK Length: 115772 (113K) [application/x-xz] Saving to: `libjq1-1.6-1.tar.xz' libjq1-1.6-1.tar.xz 100%[===================>] 113.06K 88.8KB/s in 1.3s 2022-06-08 10:48:48 (88.8 KB/s) - `libjq1-1.6-1.tar.xz' saved [115772/115772] libjq1-1.6-1.tar.xz: OK Unpacking... Package libjq1 requires the following packages, installing: cygwin libgcc1 libonig3 libonig4 libonig5 Package cygwin is already installed, skipping Package libgcc1 is already installed, skipping Installing libonig3 --2022-06-08 10:48:49-- http://cygwin.mirrors.hoobly.com//x86_64/release/onig/l ibonig3/libonig3-6.0.0-1.tar.xz Resolving cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)... 69.64.41.166 Connecting to cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)|69.64.41.166 |:80... connected. HTTP request sent, awaiting response... 200 OK Length: 93544 (91K) [application/x-xz] Saving to: `libonig3-6.0.0-1.tar.xz' libonig3-6.0.0-1.ta 100%[===================>] 91.35K 187KB/s in 0.5s 2022-06-08 10:48:50 (187 KB/s) - `libonig3-6.0.0-1.tar.xz' saved [93544/93544] libonig3-6.0.0-1.tar.xz: OK Unpacking... Package libonig3 requires the following packages, installing: cygwin Package cygwin is already installed, skipping Installing libonig4 --2022-06-08 10:48:51-- http://cygwin.mirrors.hoobly.com//x86_64/release/onig/l ibonig4/libonig4-6.7.0-1.tar.xz Resolving cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)... 69.64.41.166 Connecting to cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)|69.64.41.166 |:80... connected. HTTP request sent, awaiting response... 200 OK Length: 104892 (102K) [application/x-xz] Saving to: `libonig4-6.7.0-1.tar.xz' libonig4-6.7.0-1.ta 100%[===================>] 102.43K 95.4KB/s in 1.1s 2022-06-08 10:48:53 (95.4 KB/s) - `libonig4-6.7.0-1.tar.xz' saved [104892/104892 ] libonig4-6.7.0-1.tar.xz: OK Unpacking... Package libonig4 requires the following packages, installing: cygwin Package cygwin is already installed, skipping Installing libonig5 --2022-06-08 10:48:53-- http://cygwin.mirrors.hoobly.com//x86_64/release/onig/l ibonig5/libonig5-6.9.4-1.tar.xz Resolving cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)... 69.64.41.166 Connecting to cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)|69.64.41.166 |:80... connected. HTTP request sent, awaiting response... 200 OK Length: 127184 (124K) [application/x-xz] Saving to: `libonig5-6.9.4-1.tar.xz' libonig5-6.9.4-1.ta 100%[===================>] 124.20K 133KB/s in 0.9s 2022-06-08 10:48:55 (133 KB/s) - `libonig5-6.9.4-1.tar.xz' saved [127184/127184] libonig5-6.9.4-1.tar.xz: OK Unpacking... Package libonig5 requires the following packages, installing: cygwin Package cygwin is already installed, skipping Package jq installed hoidhxd@hoidhxd-PC ~ $
Read more: JQ(1) Manual Page
Linux: how to parse a JSON file by command line with jq
How to add packages after install Cygwin