Skip to main content

Install

The trq CLI is a single self-contained binary. Install it in one line, or download it directly.

One-line install (macOS / Linux)​

curl -fsSL https://dl.trq.dev/install-cli.sh | sh

This downloads the binary for your platform to ~/.trq/bin/trq and tells you how to add it to your PATH. Re-run it any time to upgrade.

Direct download​

Download the binary for your platform:

PlatformDownloadSize
macOS · Apple Silicontrq-macos-arm6486 MB
macOS · Inteltrq-macos-x6488 MB
Linux · x64trq-linux-x6495 MB
Windows · x64trq-windows-x64.exe70 MB

Make it executable and put it on your PATH:

chmod +x trq-macos-arm64
mv trq-macos-arm64 /usr/local/bin/trq

Verify — and upgrade​

trq --version

Compare that with the version above. The download URLs are unversioned — each one always serves the current build — so upgrading is the same one-line install, re-run:

curl -fsSL https://dl.trq.dev/install-cli.sh | sh

It overwrites the binary in place; nothing to uninstall first.

The browser it drives​

The first web test you run downloads a Chromium browser (once) and caches it under ~/.cache/trq. Nothing else to install. In CI you can cache that folder to skip the download on later runs — see In CI. To point Trq at a browser you already have, set TRQ_CHROMIUM_BIN or TRQ_CDP_URL (see Reference).

Windows​

Download trq-windows-x64.exe and add it to your PATH. The one-line installer above is for macOS and Linux.