CLI setup (macOS arm64)
- Sign in, open
/settings/cli, click Create key (scopecli:setup, hashed at rest, shown once, 60 req/min, revocable). - In Terminal:
curl -fsSL https://devstack.bid/setup.sh | bash -s -- my-app(addworkerfor a script Worker). The key is asked with hidden input, or read fromDEVSTACK_KEY. - Result:
./my-app/and./my-app-deploy.zip. Deploy: on devstack.bid/projects choose Deploy from a zip and upload it (needs Cloudflare connected in /settings/connections), or runcd my-app && npx wrangler deploy.
The same zip is available without Terminal from /settings/cli and, for an existing project, the Download deploy zip button on /projects/:id. All come from buildDeployZip in src/lib/deploy/bundle.ts.
Studio (Export dialog) and chat results have a Download deploy zip button too (POST /api/projects/bundle).
API: POST /api/projects/upload (multipart file, optional projectId), GET /setup.sh, GET /api/cli/whoami, POST /api/cli/scaffold {name, template} (Bearer CLI key), GET /api/cli/starter and GET /api/projects/:id/zip (signed-in session).
Zips never contain .env*, .dev.vars*, .npmrc, .git or node_modules; DEPLOY.txt lists required env var names only.
Starters come from cloudflare/workers-sdk (MIT OR Apache-2.0), see THIRD_PARTY_NOTICES.md.
Source: docs/cli-setup.md · /docs/cli-setup.md