.env secrets, configures the Pulumi stack, and provisions infrastructure for your agent team — all in a single command.
Usage
Options
| Option | Description |
|---|---|
-y, --yes | Skip confirmation prompt |
--local | Deploy to local Docker containers instead of cloud |
--env-file <path> | Path to .env file (defaults to .env in project root) |
--skip-hooks | Skip plugin lifecycle hook execution |
What It Does
- Validates secrets — Loads
.env, resolves${env:VAR}references, validates formats, and reports any missing secrets - Fetches identities — Resolves agent identities from Git repos or local paths
- Auto-resolves secrets — Fetches Linear user UUIDs and other auto-resolvable values
- Configures Pulumi — Creates/selects the stack and sets all config values
- Provisions infrastructure — Runs
pulumi upto create servers, volumes, networking, and security groups - Bootstraps agents — Installs OpenClaw, tools, and configured integrations on each agent
- Connects to Tailscale — Joins agents to your Tailscale network
In previous versions, steps 1-4 were handled by a separate
clawup setup command. As of v2.6.0, deploy handles everything automatically.Local Docker Mode
Use--local to run agents in local Docker containers for testing:
<stackName>-local), copies config from your cloud stack (skipping Tailscale keys), and runs agents locally. No cloud resources are created.
Examples
First deployment takes 3-5 minutes. Subsequent deployments are incremental — only changes are applied.