CLI Reference
npm install -g @velerion/clivelerion --versionGlobal flags
Section titled “Global flags”| Flag | Description |
|---|---|
--env <name> |
Target environment. Defaults to the value of velerion env use. |
--workspace <slug> |
Target workspace. Defaults to velerion workspace use. |
--json |
Machine-readable output. Stable across releases; the table output is not. |
--yes |
Skip confirmation prompts. Required in non-interactive shells. |
--verbose |
Log every HTTP request with its request ID. |
Authentication
Section titled “Authentication”velerion login # browser-based device flowvelerion logoutvelerion whoami # prints identity, workspace and environmentvelerion service-account create <name> --role <role> --environments <list>velerion service-account revoke <id>Workspaces and environments
Section titled “Workspaces and environments”velerion workspace listvelerion workspace use <slug>velerion env listvelerion env use <name>velerion env set KEY=value --env stagingvelerion env unset KEY --env stagingAgents
Section titled “Agents”velerion deploy --agent <name> [--env <name>]velerion promote --agent <name> --from <env> --to <env>velerion rollback --agent <name> --env <env> [--to <revision>]velerion agents listvelerion agents show <name> --env prodvelerion dev --agent <name> # run locally against dev connectionsvelerion run <name> --input @ticket.jsonrollback without --to returns to the previously deployed revision.
MCP catalog
Section titled “MCP catalog”velerion mcp search <query> [--reviewed-only] [--workspace]velerion mcp show <id>@<version> [--tools]velerion mcp install <id>@<version> --env <env> --connection <name>velerion mcp upgrade <id> --env <env> --to <version>velerion mcp diff <id> <from> <to>velerion mcp validate <path>velerion mcp publish <path> --visibility workspace|publicConnections and secrets
Section titled “Connections and secrets”velerion connection create <name> --type <type> --env <env> --secret <KEY>velerion connection test <name> --env <env>velerion secret set <KEY> --env <env> # value read from stdinvelerion secret list --env <env> # names only, never valuesObservability
Section titled “Observability”velerion logs --agent <name> --env prod --followvelerion traces list --agent <name> --since 1hvelerion traces show <trace-id>velerion usage --since 2026-07-01 --group-by agentvelerion audit export --since <date> --format jsonlExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
Success. |
1 |
Generic failure — read the message. |
2 |
Invalid usage or arguments. |
3 |
Authentication or authorisation failure. |
4 |
Validation failure, for example a rejected manifest or breaking tool change. |
5 |
Rate limited after exhausting retries. |
