qatech CLI
qatech is the official command-line tool for QA.tech. It lets you run end-to-end tests, inspect results, expose local servers via tunnels, and chat with the QA.tech agent - all from the terminal.
The CLI is designed to be agent-friendly: every command supports --json output, --help with copy-pasteable examples, and exits non-zero on failure so AI coding agents can drive it reliably from your terminal.
Install
Quick start
1
Get an API key
Sign in at app.qa.tech → Settings → Integrations → API.
2
Configure the CLI
.qatech/config.json in the current directory by default.3
Discover your tests
4
Run a test
1 if any test fails.Commands
Run
qatech <command> --help for detailed flags on any command.
Configuration resolution
The CLI resolves credentials in this order - first match wins:--api-keyflag (per-command override)QATECH_API_KEYenvironment variable.qatech/config.jsonin the current directory (project-local)~/.qatech/config.json(global fallback)
Output conventions
- stdout → data (JSON or human-readable results)
- stderr → progress messages, errors, hints
- With
--json, stdout is always valid JSON - safe to pipe tojq - Errors with
--jsonare also JSON:{ "error": true, "message": "...", "statusCode": 401 }
jq cleanly: