Wrangler Cloudflare Workers CLI for Edge Deployment
Wrangler is the official command-line tool for building, testing, and deploying Cloudflare Workers. It provides a complete development workflow for serverless edge applications including local development with Miniflare, KV/R2/D1 bindings, and zero-config deployment to Cloudflare global network.
Installation
Use the upstream install or setup path that matches your environment:
- npm create cloudflare@latest
- pnpm create cloudflare@latest
- yarn create cloudflare@latest
- npm i https://pkg.pr.new/create-cloudflare@main
Basic usage or getting-started notes:
To get started quickly with a new project, run the command below:
bash
or
Extracted from upstream docs: https://raw.githubusercontent.com/cloudflare/workers-sdk/HEAD/README.md