<p>jq is written in C and has no runtime dependencies, so it should be possible to build it for nearly any platform. Prebuilt binaries are available for Linux, OS X and Windows.</p>
<p>For Arch users, a PKGBUILD for jq-1.1 is in the <ahref='https://aur.archlinux.org/packages.php?ID=63849'>AUR</a>, as well as a PKGBUILD for the HEAD of master (<ahref='https://aur.archlinux.org/packages.php?ID=63850'>jq-git</a>). You can install them using <ahref='https://wiki.archlinux.org/index.php/Yaourt'>Yaourt</a> or manually by following instructions on <ahref='https://wiki.archlinux.org/index.php/Arch_UseRepository'>Arch Linux’s Wiki</a>.</p>
<h3id='from_source_on_linux_os_x_cygwin_and_other_posixlike_operating_systems'>From source on Linux, OS X, Cygwin, and other POSIX-like operating systems</h3>
<p>For Linux systems, these will all be in your system’s package manager, and if you do development on the machine they’re most likely already installed.</p>
<p>On OS X, these are all included in Apple’s command line tools, which can be installed from <ahref='http://developer.apple.com/technologies/tools/'>Xcode</a>. However, you may find that you need a newer version of Bison than the one provided by Apple. This can be found in <ahref='http://mxcl.github.com/homebrew/'>Homebrew</a> or <ahref='http://macports.org/'>MacPorts</a>.</p>
<p><code>flex</code> and <code>bison</code> are used to generate the lexer and parser for jq, and some python scripts generate the UTF8 encoding tables needed for JSON parsing.</p>
<p>jq’s documentation is compiled into static HTML using <ahref='http://www.tinytree.info'>Bonsai</a>. To view the documentation locally, run <code>rake serve</code> (or <code>bundle exec rake serve</code>) from the docs/ subdirectory. To build the docs just <code>rake build</code> from the docs subdirectory. You’ll need a few Ruby dependencies, which can be installed by following the instructions in <code>docs/README.md</code>.</p>
<p>The man page is built by <code>make jq.1</code>, or just <code>make</code>, also from the YAML docs, and you’ll still need the Ruby dependencies to build the manpage.</p>
<p>This website is made with <ahref='http://www.tinytree.info'>Bonsai</a> and <ahref='http://twitter.github.com/bootstrap/'>Twitter Bootstrap</a>, themed with <ahref='http://bootswatch.com'>Bootswatch</a>.</p>