Installation
The installer drops testrelic (plus the tr and ask-ai shortcuts) into
~/.testrelic/bin and adds it to your PATH. Supported targets: Linux x86_64/arm64,
macOS arm64/x86_64, and Windows x86_64.
- Linux / macOS
- Windows (PowerShell)
curl -fsSL https://testrelic.ai/install.sh | sh
irm https://testrelic.ai/install.ps1 | iex
Verify
testrelic --version
testrelic doctor # auth / MCP / terminal diagnostics
Installer environment variables
| Variable | Default | Meaning |
|---|---|---|
TESTRELIC_VERSION | latest | Pin a release tag, e.g. v0.2.0. |
TESTRELIC_INSTALL_DIR | ~/.testrelic/bin | Install location. |
TESTRELIC_DL_BASE | TestRelic releases bucket | Download host, for mirrors or air-gapped installs. |
TESTRELIC_DRY_RUN | unset | Set to 1 to print what would happen and exit. |
For example, to pin a version:
TESTRELIC_VERSION=v0.2.0 curl -fsSL https://testrelic.ai/install.sh | sh
The
tr shortcut on UnixOn Unix shells the tr shortcut shadows coreutils tr when the install directory precedes
the system PATH. Use the full testrelic name if that matters to you.
Next steps
→ Quickstart — log in and ask your first question.