Dev Center CLI
Platform operations for managing services, deployments, rollouts, secrets, and resources from the command line.
Global Options
All riven dev-center subcommands accept these options:
| Option | Default | Description |
|---|---|---|
--json | — | Machine-readable JSON output |
--yes | — | Skip interactive confirmations |
--namespace <ns> | dev-center | Kubernetes namespace override |
Service Management
Manage service definitions in the Dev Center catalog.
List services
riven dev-center service listGet service details
riven dev-center service get <service>Create a service
riven dev-center service create <service> \
--repository <ecr-url> \
--repository-id <id>Delete a service
riven dev-center service delete <service>Deploy a service
Deploy a service using Helm charts. The --tag option is required.
riven dev-center service deploy <service> --tag v1.2.3
# With additional options
riven dev-center service deploy my-service \
--tag v2.0.0 \
--replicas 3 \
--repo-type jsAlways use the <semver>-<short-sha> tag format (e.g. 0.1.69-de54b1c). Read version from package.json and append the short git SHA.
Resources
View and update CPU, memory, and autoscaling configuration for a service.
Get resource config
riven dev-center resource get <service>Set resources
riven dev-center resource set <service> \
--cpu-request 500m \
--cpu-limit 1 \
--memory-request 512Mi \
--memory-limit 1Gi
# Enable autoscaling
riven dev-center resource set <service> \
--autoscale \
--min-replicas 2 \
--max-replicas 10
# Set manual instance count
riven dev-center resource set <service> --instances 3Secrets
Manage environment secrets for a service. Values are stored encrypted and injected as environment variables at runtime.
List secrets
Lists secret keys with values redacted.
riven dev-center secret list <service>Set secrets
# Merge with existing secrets
riven dev-center secret set <service> DB_URL=postgres://... API_KEY=sk-123
# Replace all secrets
riven dev-center secret set <service> DB_URL=postgres://... --replaceDelete secrets
riven dev-center secret delete <service> DB_URL API_KEYRollouts
Manage canary and standard rollouts for safe deployments.
Start a rollout
# Standard rollout
riven dev-center rollout start <service> <version>
# Canary rollout with metric analysis
riven dev-center rollout start <service> v2.0.0 --canary --analysis
# Quick canary strategy
riven dev-center rollout start <service> v2.0.0 --canary --strategy quickCheck rollout status
riven dev-center rollout status <service>Promote a canary
# Promote to next step
riven dev-center rollout promote <service>
# Skip remaining steps, promote to 100%
riven dev-center rollout promote <service> --fullAbort a rollout
riven dev-center rollout abort <service>
riven dev-center rollout abort <service> --reason "error rate spike"Rollback
Rollback a service to a previous version. Defaults to the immediately previous version if no target is specified.
# Rollback to previous version
riven dev-center rollback <service>
# Rollback to a specific version
riven dev-center rollback <service> v1.5.0Inspection and Logs
Inspect deployments, pods, and logs directly from the CLI.
Deployment history
riven dev-center history <service>
riven dev-center history <service> --limit 5List image versions
riven dev-center versions <service>Kubernetes deployments
# List all deployments
riven dev-center deployments
# Get deployment details
riven dev-center deployment <name>Pods
# List pods for a service
riven dev-center pods <service>
# Delete a specific pod (force restart)
riven dev-center pod-delete <pod-name>Logs
# Get pod logs
riven dev-center logs <pod-name>
# Tail last 100 lines
riven dev-center logs <pod-name> --tail 100
# Logs from previous container instance
riven dev-center logs <pod-name> --previous
# Logs from a specific container
riven dev-center logs <pod-name> --container sidecar