npx wrangler init --from-dash my-worker

Category: Cloudflare

npx wrangler init --from-dash my-worker

Download an existing Worker from the dashboard

Fetches a Worker you already created in the Cloudflare dashboard into a local my-worker folder. Edits made in the dashboard after this snapshot are not synced back, so treat the CLI as the source of truth going forward.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.