strix cloud commands drive the managed platform (app.strix.ai) from the terminal. You do not need Docker or an LLM key.
Sign In
Sign in once with the browser device flow. The sign-in creates your account and workspace on first use, and it stores a personal API token in~/.strix/platform-auth.json.
strix cloud logout revokes the server session before it deletes the local token. Use --local-only when you cannot reach the server.
Scopes
The default Recommended preset covers normal scan work, local source uploads, workspace switching, and user-approved credit top-ups. It excludes credential creation, so requesttokens:write when you need it.
Commands
Every operation of the REST API has a matching command in the formstrix cloud <resource> <verb>.
--data:
--token and STRIX_API_TOKEN are stateless overrides for a single command, and they never replace the stored sign-in. Pair a CLI-session override with --workspace-id or STRIX_WORKSPACE_ID.
Workspaces And Account Setup
--no-browser to print the URL only.
Output And Exit Codes
The commands work for people and for agents. Terminal output favors names, branches, lifecycle states, and numbered selectors. Redirected output, and--json, preserve the complete machine-readable record.
- Human lists keep the selectors that follow-up commands need, and they omit internal organization and user IDs. A selector that is too long for the compact table is repeated losslessly in a copyable block.
- Paginated lists print the next
--pageor--offset. Detail views keep useful prose within a safe terminal bound, so use--jsonfor the complete record. - Token lists separate API keys from named CLI device sessions.
- Binary downloads are the exception to JSON output. Redirect the raw bytes on purpose, or use
--output FILE --jsonto write the file and receive structured download metadata. - There are no prompts when stdin is not a terminal.
0 success, 1 error, 2 invalid usage, 4 authentication or plan limit, 5 payment required.
Credits And Plan Limits
Non-Enterprise scans consume the deterministic estimate shown for their scope. A source-only code review at the defaultultra tier currently starts at 60 credits. Enterprise scans are plan-included and do not consume the credit wallet.
Report downloads need Enterprise, schedules need Pro, and billing writes need an admin token. A plan block exits 4. An insufficient credit wallet exits 5 without the creation of a scan and without a charge.