workers-sdk/packages/wrangler
ANT Bot b7d79a9628
Version Packages (#13859)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
History 2026-05-12 11:21:59 +01:00
..
bin Hard fail on Node.js < 22 (#13726) 2026-04-29 16:21:21 +01:00
e2e Revert "Support stream (but keep pipeline backwards compatible) binding for Pipelines" (#13847) 2026-05-07 14:55:03 +01:00
scripts fix(wrangler): emit markdownDescription in config schema (#13735) 2026-04-29 22:55:28 +01:00
src [wrangler] fix: suppress status badge when printBanner returns false (#13837) 2026-05-12 10:28:22 +01:00
templates feat(vite-plugin-cloudflare): vite preview tunnel support (#13702) 2026-04-28 11:25:08 +01:00
AGENTS.md [wrangler] Remove testTimeout override to fix flaky D1 test timeouts on Windows (#13825) 2026-05-06 06:56:11 +01:00
CHANGELOG.md Version Packages (#13859) 2026-05-12 11:21:59 +01:00
CONTRIBUTING.md Slightly Improve process for experimental features in wrangler (#11938) 2026-01-23 16:00:01 +00:00
import_meta_url.js proper login/refresh for all commands, and some cleanups 2021-11-14 10:14:08 +00:00
kv-asset-handler.js fix: resolve asset handler for --experimental-path (#1253) 2022-06-14 14:57:58 +01:00
package.json Version Packages (#13859) 2026-05-12 11:21:59 +01:00
README.md Simplify Commands section of wrangler readme (#12639) 2026-02-27 11:06:35 +00:00
telemetry.md local explorer: add telemetry (#13392) 2026-04-13 12:30:11 +01:00
tsconfig.emit.json Fix wrangler generated types to match runtime exports (#4161) 2023-10-12 17:11:39 +01:00
tsconfig.json Full autoconfig flow for some projects (#11164) 2025-11-05 12:24:45 +00:00
tsup.config.ts Use capnweb native ReadableStream support for remote Media bindings (#12582) 2026-02-23 14:22:30 +00:00
turbo.json feat(wrangler): Add a new wrangler preview command group for Worker Previews (#12983) 2026-04-09 18:09:32 +01:00
vitest.config.mts [wrangler] Remove testTimeout override to fix flaky D1 test timeouts on Windows (#13825) 2026-05-06 06:56:11 +01:00

⛅️ wrangler

npm GitHub contributors GitHub commit activity (branch) Discord

wrangler is a command line tool for building Cloudflare Workers.

Quick Start

To get started quickly with a Hello World worker, run the command below:

npx wrangler init my-worker -y

For more info, visit our Getting Started guide.

Wrangler System Requirements

We support running the Wrangler CLI with the Current, Active, and Maintenance versions of Node.js. Your Worker will always be executed in workerd, the open source Cloudflare Workers runtime.

Wrangler is only supported on macOS 13.5+, Windows 11, and Linux distros that support glib 2.35. This follows workerd's OS support policy.

Documentation

For the latest Wrangler documentation, click here.

To read more about Workers in general:

Configuration

Wrangler is configured via a wrangler.jsonc (recommended), wrangler.json or wrangler.toml file in the project root. An example configuration generated by npx wrangler init or npx create cloudflare is as follows:

{
	"$schema": "node_modules/wrangler/config-schema.json",
	"name": "my-worker",
	"main": "./src/index.ts",
	"compatibility_date": "YYYY-MM-DD",
}

For more detailed information about configuration, refer to the documentation.

Commands

The wrangler CLI offers various commands, the most popular being:

  • wrangler dev to start a local development server, with live reloading and devtools.

  • wrangler deploy to deploy a Worker to the Cloudflare's global network.

There are many more commands and options available, for a full list refer to the official Cloudflare documentation.