workers-sdk/packages/wrangler
ANT Bot f138e83161
Version Packages (#13608)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
History 2026-04-21 15:39:41 +01:00
..
bin Hard fail Wrangler on Node.js < 20 (#9393) 2025-05-28 18:50:50 +00:00
e2e skip vpc remote binding tests temporarily (#13619) 2026-04-21 13:59:47 +01:00
scripts Add Node.js 24 and 25 compatibility to the test suites for Miniflare, Wrangler, and vitest-pool-workers packages (#11858) 2026-01-12 10:08:24 +00:00
src Fix wrangler types --check ignoring --env-interface and secondary--config entries (#13572) 2026-04-20 15:52:04 +01:00
templates Revert "Revert "[wrangler] fix: prevent remote binding sessions expiring during long dev sessions"" (#13470) 2026-04-16 16:09:51 +01:00
AGENTS.md Improve AGENTS.md files based on recurring PR review feedback (#13408) 2026-04-15 17:34:25 +01:00
CHANGELOG.md Version Packages (#13608) 2026-04-21 15:39:41 +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 (#13608) 2026-04-21 15:39:41 +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 Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00: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.