CLI
CLI Commands
Command reference for the Oriyn CLI.
The CLI covers auth, product linking, product inspection, personas, patterns, experiments, sync, status, configuration, and agent-friendly output.
Command Reference
oriyn auth login [--no-browser]
oriyn auth logout
oriyn auth whoami
oriyn auth status
oriyn link [--product <id>]
oriyn unlink
oriyn products
oriyn personas [id]
oriyn patterns
oriyn experiments [id]
oriyn experiments run "<hypothesis>"
oriyn sync
oriyn status
oriyn config [key] [value]
oriyn open [resource]
oriyn upgrade
oriyn completion <bash|zsh|fish>JSONL Output
The CLI switches to JSONL for non-TTY output so coding agents and CI can parse progress and final results reliably.
{"type":"step","name":"create-experiment","ts":"..."}
{"type":"progress","message":"status: running","ts":"..."}
{"type":"result","data":{"summary":{"verdict":"ship","convergence":0.86}}}Environment Variables
| Variable | Effect |
|---|---|
| ORIYN_ACCESS_TOKEN | Use a token directly for CI or sandboxed agents. |
| ORIYN_API_BASE | Override the API base URL. |
| ORIYN_PRODUCT | Override the linked product. |
| ORIYN_ORG | Override the linked organization. |
| ORIYN_CONFIG_DIR | Move the global config directory. |
| ORIYN_TELEMETRY=off | Disable anonymous CLI usage events. |