The CLI ships inside theDocumentation Index
Fetch the complete documentation index at: https://docs.deep.space/llms.txt
Use this file to discover all available pages before exploring further.
deepspace package, which is added to every scaffolded app. You run it via npx:
npm create deepspace@latest - it fetches the latest scaffolder on demand.
Command index
| Command | Purpose |
|---|---|
create | Shortcut for npm create deepspace@latest |
login | Authenticate via GitHub/Google OAuth, or email + password |
logout | Clear the local session |
whoami | Print the current login state |
dev | Run the app locally with Vite + worker in-process |
kill | Stop leaked workerd / wrangler / vite processes |
test | Run the Playwright + Vitest test suites |
screenshot | Capture a screenshot of any URL via Playwright |
test-accounts | Create and manage @deepspace.test accounts for testing |
add | Install a scaffold feature (ai-chat, messaging, kanban, …) |
integrations | Discover and call third-party integration endpoints |
managed-repos | Create and manage DeepSpace-owned GitHub repos |
invoke | Top-level alias for integrations invoke |
deploy | Deploy to Workers for Platforms; live at <name>.app.space |
undeploy | Tear down a deployed app and its provisioned resources |
domain | Buy, attach, and manage custom domains |
library | Publish (or unpublish) your deployed app in the DeepSpace community library |
Login state
Login is shared across every app on the machine. Onenpx deepspace login covers dev, test-accounts, deploy, and billed integration calls for all apps.
~/.deepspace/session. Treat it as secret - never commit it.
Agent-friendly defaults
The CLI is designed to be safely invoked from automation:- Non-interactive by default. Omitting required arguments prints usage and exits 1 - it does not prompt on stdin.
--jsoneverywhere it matters.whoami,domain *,integrations list/info,test-accounts listall support machine-readable output.--yesskips confirmation prompts on destructive commands (domain buy,domain detach,test-accounts clear,managed-repos delete).- Help is plain text.
--help/-hproduces ANSI-free output suitable for scripting.
Local dev workflow
The standard development loop:Cleaning up leaked processes
If a previousdev session crashed or you closed the terminal without Ctrl-C, leaked workerd / wrangler / vite processes can hold ports. Use:
Next steps
- Command reference - every command, every flag.
- Quickstart - walk through the full dev loop.