Installation
If you plan to use the prequery
prequery
CLI tool, you will need to install it on your system. This is not necessary to run other external tools in combination with the Prequery package.
You can download pre-built binaries of all stable versions from the release page of the CLI tool's GitHub repository, these are automatically built for Linux, Windows, and Mac. Nightly versions are not pre-built.
After you downloaded the correct archive for your operating system and architecture you have to extract them and place the prequery
prequery
binary somewhere in your $PATH
$PATH
.
The most straight forward way to install Prequery is to use cargo-binstall
cargo-binstall
, this saves you the hassle of compiling from source.
prequery
prequery
is so far not published on crates.io, so you need to install by refrencing the git repository:
To install Prequery from source, you must have a Rust toolchain (Rust v1.85.0+) and cargo
cargo
installed, you can get these using rustup
rustup
.
This method usually doesn't require manually placing the Prequery binary in your $PATH
$PATH
because the cargo binary directory should already be in there.
When building from source, you can optionally use the native-tls-vendored
native-tls-vendored
feature to vendor OpenSSL on Linux. See the native_tls
native_tls
crate's vendored
vendored
feature for details.