Skip to content

Latest commit

 

History

History
130 lines (103 loc) · 5.54 KB

installation.md

File metadata and controls

130 lines (103 loc) · 5.54 KB

Installation

There are many different ways to install rq, listed from most preferred to least preferred.

Generic

There is a generic best-effort installer available via the dreaded curl | bash method. This is the preferred method, because you don't need to compile rq from scratch, and you always get the latest version.

curl -sSLf https://sh.dflemstr.io/rq | bash

Cargo

There is a crate available on crates.io, so just run:

cargo install record-query

Manual download

If you don't trust the above script (all it does is to detect your architecture and run curl), you can also manually download rq for your architecture.

You need to manually put the downloaded file in e.g. /usr/local/bin and run chmod +x on it.

GitHub releases

There are tagged releases of rq fairly infrequently. You can download pre-built binaries from the GitHub releases page. Note that these might be very out of date compared to master.

Arch Linux

There is a package available for AUR, so it can be installed with for example pacaur:

pacaur -S record-query-git

This takes a while to install because rq will be built from source.

Mac OS X

There is a Homebrew tap available. Add it like this:

brew tap dflemstr/tools

This will let you install the latest version of rq (recommended):

brew install --HEAD rq

Note that the compilation might take some time, use -v for details.

If you for some reason want the last tagged release of rq (might be severely out of date):

brew install rq