default.yml
This file
Path
docs/content/download/default.yml
349 lines · 14.3 KiB · YAML
Last changed by
website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
History of this fileTake it
The walk stopped after 200 commits: lines older than fa6a2ff point at it.
website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 1–5why, one step back1headline: Download jq2body:3 - text: |45 jq is written in C and has no runtime dependencies, so it should bedocs: clarify that prebuilt downloads are standalone executables (#3632)Hugohong258before adoption1b4109b
lines 6–8why, one step back6 possible to build it for nearly any platform. The prebuilt files linked7 below are standalone executables, not archives, and are available for8 Linux, macOS and Windows.website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 9–35why, one step back910 The binaries should just run, but on macOS and Linux you may need11 to make them executable first using `chmod +x jq`.1213 jq is licensed under the MIT license. For all of the gory14 details, read the file `COPYING` in the source distribution.1516 jq uses a C library for decimal number support. This is an ICU 1.8.117 licensed code obtained from the ICU downloads archive. 18 <https://download.icu-project.org/files/decNumber/decNumber-icu-368.zip>192021 ### Linux2223 * jq is in the official [Debian](https://packages.debian.org/jq) and24 [Ubuntu](https://packages.ubuntu.com/jq) repositories. Install using25 `sudo apt-get install jq`.2627 * jq is in the official [Fedora](https://src.fedoraproject.org/rpms/jq) repository.28 Install using `sudo dnf install jq`.2930 * jq is in the official [openSUSE](https://software.opensuse.org/package/jq) repository.31 Install using `sudo zypper install jq`.3233 * jq is in the official [Arch](https://archlinux.org/packages/?q=jq) repository.34 Install using `sudo pacman -S jq`.35Update jq documentation for jq 1.8.2 releaseitchynybefore adoption3c81b62
lines 36–42why, one step back36 * jq 1.8.2 binaries for37 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-amd64)38 or39 [ARM64](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-arm64)40 or41 [i386](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-linux-i386).42website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 43–45why, one step back43 <details markdown="1">44 <summary>Older versions</summary>45Update jq documentation for jq 1.8.1 releaseitchynybefore adoptionb9e19de
lines 46–52why, one step back46 * jq 1.8.1 binaries for47 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64)48 or49 [ARM64](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-arm64)50 or51 [i386](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-i386).52Update jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
lines 53–59why, one step back53 * jq 1.8.0 binaries for54 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-linux-amd64)55 or56 [ARM64](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-linux-arm64)57 or58 [i386](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-linux-i386).59website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 60–93why, one step back60 * jq 1.7.1 binaries for61 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-amd64)62 or63 [ARM64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-arm64)64 or65 [i386](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-i386).6667 * jq 1.7 binaries for68 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-amd64)69 or70 [ARM64](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-arm64)71 or72 [i386](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-linux-i386).7374 * jq 1.6 binaries for75 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64)76 or77 [i386](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux32).7879 * jq 1.5 binaries for80 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-linux64)81 or82 [i386](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-linux32).8384 * jq 1.4 binaries for85 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-linux-x86_64)86 or87 [i386](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-linux-x86).8889 * jq 1.3 binaries for90 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.3/jq-linux-x86_64)91 or92 [i386](https://github.com/jqlang/jq/releases/download/jq-1.3/jq-linux-x86).93website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 94–95why, one step back94 </details>95website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 96–103why, one step back96 ### macOS9798 * Use [Homebrew](https://brew.sh/) to install jq with `brew install jq`.99100 * Use [MacPorts](https://www.macports.org) to install jq with `port install jq`.101102 * Use [Fink](https://finkproject.org) to install jq with `fink install jq`.103Update jq documentation for jq 1.8.2 releaseitchynybefore adoption3c81b62
lines 104–108why, one step back104 * jq 1.8.2 binaries for105 [Apple Silicon](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-macos-arm64)106 or107 [Intel Mac](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-macos-amd64).108website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 109–111why, one step back109 <details markdown="1">110 <summary>Older versions</summary>111Update jq documentation for jq 1.8.1 releaseitchynybefore adoptionb9e19de
lines 112–116why, one step back112 * jq 1.8.1 binaries for113 [Apple Silicon](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-macos-arm64)114 or115 [Intel Mac](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-macos-amd64).116Update jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
lines 117–121why, one step back117 * jq 1.8.0 binaries for118 [Apple Silicon](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-macos-arm64)119 or120 [Intel Mac](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-macos-amd64).121website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 122why, one step back122 * jq 1.7.1 binaries forUpdate jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
line 123why, one step back123 [Apple Silicon](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-arm64)website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 124why, one step back124 orUpdate jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
line 125why, one step back125 [Intel Mac](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-amd64).website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 126–127why, one step back126127 * jq 1.7 binaries forUpdate jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
line 128why, one step back128 [Apple Silicon](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-macos-arm64)website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 129why, one step back129 orUpdate jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
line 130why, one step back130 [Intel Mac](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-macos-amd64).website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 131–147why, one step back131132 * jq 1.6 binary for133 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-osx-amd64).134135 * jq 1.5 binary for136 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-osx-amd64).137138 * jq 1.4 binaries for139 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-osx-x86_64)140 or141 [i386](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-osx-x86).142143 * jq 1.3 binaries for144 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.3/jq-osx-x86_64)145 or146 [i386](https://github.com/jqlang/jq/releases/download/jq-1.3/jq-osx-x86).147website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 148–149why, one step back148 </details>149website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 150–179why, one step back150 ### FreeBSD151152 * `pkg install jq` as root installs a pre-built153 [binary package](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html).154155 * `make -C /usr/ports/textproc/jq install clean` as root installs the156 [jq](https://www.freshports.org/textproc/jq/)157 [port](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html)158 from source.159160 ### Solaris161162 * `pkgutil -i jq` in [OpenCSW](https://www.opencsw.org/p/jq) for Solaris163 10+, Sparc and x86.164165 * jq 1.4 binaries for Solaris 11166 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-solaris11-64)167 or168 [i386](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-solaris11-32).169170 ### Windows171172 * Use [winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/)173 to install jq with `winget install jqlang.jq`.174175 * Use [scoop](https://scoop.sh/) to install jq with `scoop install jq`.176177 * Use [Chocolatey NuGet](https://chocolatey.org/) to install jq with178 `choco install jq`.179Update jq documentation for jq 1.8.2 releaseitchynybefore adoption3c81b62
lines 180–182why, one step back180 * jq 1.8.2 executables for181 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-windows-amd64.exe)182 orAdd a download link for Windows arm64itchynybefore adoption42d4035
lines 183–184why, one step back183 [ARM64](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-windows-arm64.exe)184 orUpdate jq documentation for jq 1.8.2 releaseitchynybefore adoption3c81b62
lines 185–186why, one step back185 [i386](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-windows-i386.exe).186website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 187–189why, one step back187 <details markdown="1">188 <summary>Older versions</summary>189Update jq documentation for jq 1.8.1 releaseitchynybefore adoptionb9e19de
lines 190–194why, one step back190 * jq 1.8.1 executables for191 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-windows-amd64.exe)192 or193 [i386](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-windows-i386.exe).194Update jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
lines 195–199why, one step back195 * jq 1.8.0 executables for196 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-windows-amd64.exe)197 or198 [i386](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-windows-i386.exe).199website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 200–229why, one step back200 * jq 1.7.1 executables for201 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-windows-amd64.exe)202 or203 [i386](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-windows-i386.exe).204205 * jq 1.7 executables for206 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-windows-amd64.exe)207 or208 [i386](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-windows-i386.exe).209210 * jq 1.6 executables for211 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-win64.exe)212 or213 [i386](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-win32.exe).214215 * jq 1.5 executables for216 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-win64.exe)217 or218 [i386](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-win32.exe).219220 * jq 1.4 executables for221 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-win64.exe)222 or223 [i386](https://github.com/jqlang/jq/releases/download/jq-1.4/jq-win32.exe).224225 * jq 1.3 executables for226 [AMD64](https://github.com/jqlang/jq/releases/download/jq-1.3/jq-win64.exe)227 or228 [i386](https://github.com/jqlang/jq/releases/download/jq-1.3/jq-win32.exe).229website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 230–231why, one step back230 </details>231website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 232–233why, one step back232 ### Checksums and signatures233website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 234–238why, one step back234 SHA-256 checksums are provided for all release and pre-release binaries,235 and all release artifacts are signed by a jq release key. We have two release keys,236 [one for 1.6 and older releases](https://raw.githubusercontent.com/jqlang/jq/master/sig/jq-release-old.key),237 and238 [one for 1.7 and newer releases](https://raw.githubusercontent.com/jqlang/jq/master/sig/jq-release-new.key).website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 239–241why, one step back239 You can use [GnuPG](https://gnupg.org/) to verify a signature by downloading240 the signature and running `gpg --verify signature.asc`.241website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 242–281why, one step back242 * jq 1.8.2243 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.8.2/sha256sum.txt)244 and245 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.8.2).246247 <details markdown="1">248 <summary>Older versions</summary>249250 * jq 1.8.1251 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.8.1/sha256sum.txt)252 and253 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.8.1).254255 * jq 1.8.0256 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.8.0/sha256sum.txt)257 and258 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.8.0).259260 * jq 1.7.1261 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.7.1/sha256sum.txt)262 and263 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.7.1).264265 * jq 1.7266 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.7/sha256sum.txt)267 and268 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.7).269270 * jq 1.6271 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.6/sha256sum.txt)272 and273 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.6).274275 * jq 1.5276 [checksums](https://raw.githubusercontent.com/jqlang/jq/master/sig/v1.5/sha256sum.txt)277 and278 [signatures](https://github.com/jqlang/jq/tree/master/sig/v1.5).279280 </details>281website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 282–283why, one step back282 ### From source on Linux, macOS, Cygwin, and other POSIX-like operating systems283Update jq documentation for jq 1.8.2 releaseitchynybefore adoption3c81b62
line 284why, one step back284 * [Source tarball for jq 1.8.2](https://github.com/jqlang/jq/releases/download/jq-1.8.2/jq-1.8.2.tar.gz)website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 285–288why, one step back285286 <details markdown="1">287 <summary>Older versions</summary>288Update jq documentation for jq 1.8.1 releaseitchynybefore adoptionb9e19de
line 289why, one step back289 * [Source tarball for jq 1.8.1](https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-1.8.1.tar.gz)Update jq documentation for jq 1.8.0 release (#3333)itchynybefore adoption62cafa2
line 290why, one step back290 * [Source tarball for jq 1.8.0](https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-1.8.0.tar.gz)website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 291–294why, one step back291 * [Source tarball for jq 1.7.1](https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-1.7.1.tar.gz)292 * [Source tarball for jq 1.7](https://github.com/jqlang/jq/releases/download/jq-1.7/jq-1.7.tar.gz)293 * [Source tarball for jq 1.6](https://github.com/jqlang/jq/releases/download/jq-1.6/jq-1.6.tar.gz)294 * [Source tarball for jq 1.5](https://github.com/jqlang/jq/releases/download/jq-1.5/jq-1.5.tar.gz)website: fold older versions on the download page (#3635)itchynybefore adoption57f5976
lines 295–296why, one step back295296 </details>website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 297–349why, one step back297298 You can build it using the usual `./configure && make && sudo299 make install` rigmarole.300301 If you're interested in using the latest development version, try:302303 git clone --recursive https://github.com/jqlang/jq.git304 cd jq305 autoreconf -i306 ./configure307 make308 sudo make install309310 To build it from a git clone, you'll need to install a few311 packages first:312313 * [GCC](https://gcc.gnu.org)314 * [Make](https://www.gnu.org/software/make/)315 * [Autotools](https://www.gnu.org/software/automake/)316317 For Linux systems, these will all be in your system's package318 manager, and if you do development on the machine they're most319 likely already installed.320321 On macOS, these are all included in Apple's command line tools, which can322 be installed from [Xcode](https://developer.apple.com/xcode/). However,323 you may find that you need a newer version of Bison than the one provided324 by Apple. This can be found in [Homebrew](https://brew.sh/) or325 [MacPorts](https://macports.org/).326327 If you want to generate the lexer and parser from source you can use the328 `--enable-maintainer-mode` configure flag. This requires bison to be installed.329 [Flex](https://github.com/westes/flex) and330 [Bison](https://www.gnu.org/software/bison/).331332 ### Docker333334 Docker image is available from335 [GitHub Container Registry](https://github.com/jqlang/jq/pkgs/container/jq).336337 docker run -i --rm ghcr.io/jqlang/jq -n 'range(3)'338339 #### Building the documentation340341 jq's documentation is compiled into static HTML using Python.342 To build the docs, run `pipenv run python3 build_website.py`343 in the `docs/` directory. To serve them locally, you can run344 `python3 -m http.server -d output`. You'll need a few Python dependencies,345 which can be installed by following the instructions in `docs/README.md`.346347 The man page is built by `make jq.1`, or just `make`, also from348 the YAML docs, and you'll still need the Python dependencies to349 build the manpage.