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:
| Platform | Download |
|---|---|
| macOS · Apple Silicon | trq-macos-arm64 |
| macOS · Intel | trq-macos-x64 |
| Linux · x64 | trq-linux-x64 |
| Windows · x64 | trq-windows-x64.exe |
Make it executable and put it on your PATH:
chmod +x trq-macos-arm64
mv trq-macos-arm64 /usr/local/bin/trq
Verify
trq --version
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.