Installation
Install and set up the Kyuri CLI
Requires Node.js 20 or later.
Install
# Global install (recommended)
npm install -g @kyuri-ai/cli
# Or run without installing
npx @kyuri-ai/cli healthVerify
kyuri --version
kyuri healthSign in
kyuri loginApprove the code in your browser. To use a token instead, create one under Settings → Organization → CLI Tokens → Create Token (shown only once) and pass it:
kyuri login --token sck_live_a1b2c3d4...In CI/CD no login step is needed. Export the token and the CLI reads it at runtime:
export KYURI_TOKEN="sck_live_..."Initialize a project
kyuri initkyuri job trigger uses KYURI_TRIGGER_KEY, not the CLI token. Add KYURI_TOKEN only when you also use --wait or other API commands.
Local test execution does not require a Kyuri account: kyuri test run --offline --file <path> or kyuri job run --id <name-or-id> --local --offline use local Playwright/k6 dependencies and skip server validation. Cloud commands still require credentials. For agent setup, see Agent Quickstart.
What init Creates
my-project/
├── _kyuri_/
│ ├── playwright/ # Playwright test files
│ └── k6/ # k6 performance tests
└── kyuri.config.tsinit also installs @playwright/test and @types/k6 as dev dependencies, downloads the Playwright chromium browser for local execution, and warns if k6 is not installed (needed for performance tests).
Test Dependencies
| Dependency | Needed for | Install |
|---|---|---|
@playwright/test and chromium | Browser and API tests | Handled by kyuri init, or npm install --save-dev @playwright/test && npx playwright install chromium |
| k6 | Performance tests | macOS brew install k6; Linux sudo snap install k6; Windows choco install k6 or winget install k6 (more options) |
Check everything with kyuri doctor.
Docker
Set KYURI_JOB_ID and both tokens in your environment, then run the CLI using the official Node.js image:
docker run --rm \
-e KYURI_TRIGGER_KEY -e KYURI_TOKEN -e KYURI_JOB_ID \
node:20-slim sh -c 'npm install -g @kyuri-ai/cli && kyuri job trigger "$KYURI_JOB_ID" --wait'See CI/CD Integration for Docker-based pipeline examples.