Arguments
The name of your worker
Options
Answer “yes” to any prompts for new projectsAlias:
-yThe name of the Worker you wish to download from the Cloudflare dashboard for local development
Delegate to Create Cloudflare CLI (C3)Default:
trueAlias: --c3Examples
Create a new Worker interactively
Create a Worker with a specific name
Skip prompts and accept defaults
Download existing Worker from dashboard
Behavior
By default,wrangler init delegates to the Create Cloudflare CLI (C3) to scaffold new projects. This provides an interactive setup experience with framework detection and template selection.
When using --from-dash, Wrangler downloads the Worker code and configuration from your Cloudflare account and creates a local project structure.