Skip to main content

Updates

Running the latest CREs

Automatic updates of community CREs and new releases of preq are available to users for free. Secure updates provide the latest CREs and reliability intelligence from the problem detection community and Prequel's Reliability Research Team. All updates are signed with ECDSA keys by Prequel.

To receive secure updates, complete the OAuth 2.0 device code process the first time you run preq. You will not be prompted to do this again until the token expires in 3 months.

preq

Example output

https://updates.prequel.dev/activate?user_code=LPKM-BFNC

You're one step away! Please verify your email
It looks like your email (hello@prequel.dev) hasn’t been verified yet. Check your inbox for a verification link from updates@prequel.dev and click it to activate your account. If you don’t see the email, check your spam folder.

See https://docs.prequel.dev/updates for more information.
info

If you did not sign up with Google, GitHub, Microsoft, or LinkedIn, then will need to verify your email and run preq again to ensure you are running the latest community CREs.

Updates

You will be prompted to install new CREs or releases when they are available.

preq

Example output

https://updates.prequel.dev/activate?user_code=GGZX-QZJT
? New community CREs are available (0.3.7)! See https://github.com/prequel-dev/cre/releases/tag/v0.3.7 for release notes.
Do you want to update? ›
❯ Yes
No

After the updates are accepted, they will be validated and installed in the ~/.preq configuration folder.

Example output

https://updates.prequel.dev/activate?user_code=GGZX-QZJT
✔ New community CREs are available (0.3.7)! See https://github.com/prequel-dev/cre/releases/tag/v0.3.7 for release notes.
Do you want to update? … Yes
package name: preq-public-rules.0.3.0.69d8343c.yaml.gz
package name: preq-public-rules.0.3.0.69d8343c.yaml.gz.sha256
Downloading update ... done! [3.96KB in 0s; 20.94MB/s]
package name: preq-public-rules.0.3.0.69d8343c.yaml.gz.sig
ECDSA signature and sha256 hash verified

Similarly, new updates to preq will be validated and installed automatically.

Example output

✔ A new release is available (0.1.2)! See https://github.com/prequel-dev/preq/releases/tag/v0.1.2 for release notes.
Do you want to update? … Yes
package name: preq_linux_amd64.bfd8dca3
Downloading update ... done! [39.93MB in 792ms; 50.43MB/s]
package name: preq_linux_amd64.bfd8dca3.sha256
package name: preq_linux_amd64.bfd8dca3.sig
ECDSA signature and sha256 hash verified

Verifying Update

Run with -v to see the new updates.

preq -v

Example output

preq 0.1.2 f085fbc25a3d5247ab9e89a1576ded013f265e7a linux/amd64 2025-03-29
Current rules release: 0.3.7 /home/user/.preq/prequel-public-cre-rules.0.3.7.43be279c.yaml.gz

Learn more at https://github.com/prequel-dev/preq
Copyright 2025 Prequel Software, Inc. (https://prequel.dev)

Auto-accept updates

You can run preq with -y to automatically accept new releases without interactive input.

preq -y

Example output

package name: preq_linux_amd64.bfd8dca3
Downloading update ... done! [39.93MB in 830ms; 48.10MB/s]
package name: preq_linux_amd64.bfd8dca3.sha256
package name: preq_linux_amd64.bfd8dca3.sig
ECDSA signature and sha256 hash verified

You can also manually update your configuration file ~/.preq/config.yaml to enable automatic updates by setting accept_updates to true.

cat ~/.preq/config.yaml 

Example output

accept_updates: true