CLI Reference
Core commands
Section titled “Core commands”ss server|dev|stop-serverss status|start|stop|toggle|testss env list|create|switch|clearss provision [file] [--env] [--service] [--dry-run] [--status]ss run|deploy|configure|migratess import terraform|ansibless export terraform|ansible|cicdss harness ...ss graph ...
Provisioning
Section titled “Provisioning”ss provision is the “just run it” command — it reads starsystem.yaml and brings all services to their desired state without needing an environment overlay or provision.provider on every service.
ss provision # reconcile cwd/starsystem.yamlss provision my-system.yaml # explicit filess provision --dry-run # show plan, don't executess provision --service=caddy # single service onlyss provision --env=prod # with environment overlayss provision --status # health check provisioned servicesWhat it handles automatically by service shape:
| Service shape | What happens |
|---|---|
type: process + command: | Spawns the process detached, stores PID |
type: cdn + _cloudflare: | Calls CF API (custom hostnames, DNS, Pages) |
provision.provider: neon | Provisions Neon Postgres via API |
provision.provider: fly | Deploys to Fly Machines |
| … any registered provisioner | Same pattern |
ss apply is different — it pushes the YAML config to a running server to reload the topology canvas. It does not start processes or call cloud APIs. Use ss provision for that.
See the full guide: ss provision
Harness and graph highlights
Section titled “Harness and graph highlights”ss harness create <id> --template=<name>creates a full harness package scaffold.ss harness listlists local harness packages.ss harness topology init|show|set-activemanages registry/depot topology policy.ss graph initcreates a canonical graph file (.starsystem/graph.yaml).ss graph plan --blueprint=<file>previews normalized graph topology from a blueprint.ss graph node .../ss graph edge ...performs node/edge CRUD.ss graph validatevalidates graph integrity.ss graph lintperforms quality lint checks.ss graph diff <a> <b>reports topology deltas for review/CI.ss graph render --format=d2|dotprints D2 or Graphviz DOT to stdout (optional--out; use--blueprintor--graphas the source).ss graph export --format=d2|dotwrites D2 or DOT (optional--out; same sources asrender).
Starflow CLI (sf / starflow)
Section titled “Starflow CLI (sf / starflow)”From @celestial/starflow-cli (repo packages/starflow-cli): starflow server, run, export, flag …, schema …, etc.
starflow schema step— print JSON Schema for one pipeline step (includesuse_sandbox,sandbox_provider,vpn-connect,vpn_connect_*). Pipe to a file and point VS Code$schemaat step-shaped YAML, or use--out=<path>.starflow schema config— JSON Schema for the fullstarflow.yamlroot.starflow schema help— longer help with YAML quick reference for sandbox/VPN fields.