Skip to main content

Standalone Installation

There are two ways to install preq. Use standalone if you are detecting problems in non-Kubernetes environments.

Download

Download the latest release by selecting your operating system. No configuration is necessary to start using preq.

Terminal:

wget https://github.com/prequel-dev/preq/releases/download/v0.1.25/preq-0.1.25-linux-amd64.tar.gz

Browser:

Linux (amd64)

You can also view all available releases on GitHub.

Step 1: Unpack

tar -zxvf preq-0.1.25-linux-amd64.tar.gz

Example output

preq-0.1.25-linux_amd64/
preq-0.1.25-linux_amd64/LICENSE
preq-0.1.25-linux_amd64/preq
preq-0.1.25-linux_amd64/preq.sha256
preq-0.1.25-linux_amd64/preq.sig

Step 2: Install

Install preq to a location of your choosing. We recommend ~/local/bin.

This command is written for bash. If you're using another shell, adjust as needed.

bash
mkdir -p ~/local/bin && cp ./preq-0.1.25-linux_amd64/preq ~/local/bin/preq
echo 'export PATH="$PATH:$HOME/local/bin"' >> ~/.bashrc

Run preq to verify the correct version is installed.

This command is written for bash. If you're using another shell, adjust as needed.

bash
source ~/.bashrc && preq -v

Example output

preq 0.1.25 4b8f2eab0255686dad8b5d9ec7329024a5cbfb06 linux/amd64 2025-03-22

Learn more at https://docs.prequel.dev
Copyright 2025 Prequel Software, Inc. (https://prequel.dev)

Optional Step: Verify

All preq binaries and community rule package updates are hashed and signed.

To validate the sha256 hash:

echo "$(cat preq-0.1.25-linux_amd64/preq.sha256)  preq-0.1.25-linux_amd64/preq" | sha256sum -c -

Example output

preq-0.1.25-linux_amd64/preq: OK

To validate the ECDSA signature:

echo '-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErSs//3w6Db08czHrMIZY7oElDU2h
X8sOUQNRtOaNSmYh3XiNogV6+WdQ5kuZkz2R9qiEHXbzqACzkMsKV8E9iw==
-----END PUBLIC KEY-----' > pubkey.pem
openssl dgst -sha256 -verify pubkey.pem -signature preq-0.1.25-linux_amd64/preq.sig preq-0.1.25-linux_amd64/preq

Example output

Verified OK

kubectl (Krew)

Use the kubectl plugin if you are detecting problems in Kubernetes clusters.

Step 1: Install

Krew is the package manager for Kubernetes kubectl plugins. With Krew installed run:

kubectl krew install preq

Example output:

Updated the local copy of plugin index.
Installing plugin: preq
Installed plugin: preq
\
| Use this plugin:
| kubectl preq
| Documentation:
| https://github.com/prequel-dev/preq
/
WARNING: You installed plugin "preq" from the krew-index plugin repository.
These plugins are not audited for security by the Krew maintainers.
Run them at your own risk.

This will install preq as a kubectl plugin on any of the above supported operating systems and architectures. As with standalone preq, all binaries hashed and signed. And macOS binaries are also notarized and signed by Apple.

Optional Step: Verify

To validate the ECDSA signature:

echo '-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErSs//3w6Db08czHrMIZY7oElDU2h
X8sOUQNRtOaNSmYh3XiNogV6+WdQ5kuZkz2R9qiEHXbzqACzkMsKV8E9iw==
-----END PUBLIC KEY-----' > pubkey.pem
openssl dgst -sha256 -verify pubkey.pem -signature ~/.krew/store/preq/v0.1.25/kubectl-preq.sig ~/.krew/store/preq/v0.1.25/kubectl-preq

Example output

Verified OK