Technical & DevelopmentIntermediate
wrangler
Local deployment and CLI command references for Wrangler.
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/cloudflare/skills --skill wranglernpx skills add https://github.com/cloudflare/skills --skill wranglerOr paste this URL into your assistant to install:
Overview
What This Skill Does
Outlines correct CLI command structures for deployments, local testing emulators, secret stores, and KV/D1 database bindings.
Application
When to use this Skill
- Managing serverless functions and databases via the Wrangler CLI.
- Deploying, running, and debugging worker code in local dev modes.
- Configuring and syncing KV, D1, and R2 storage bindings.
- Injecting secret tokens and environment variables into live worker environments.
- Automating deployment scripts within continuous integration pipelines.
Documentation
Show Skills.md file
Wrangler CLI
Your knowledge of Wrangler CLI flags, config fields, and subcommands may be outdated. Prefer retrieval over pre-training for any Wrangler task.
Retrieval Sources
Fetch the latest information before writing or reviewing Wrangler commands and config. Do not rely on baked-in knowledge for CLI flags, config fields, or binding shapes.
| Source | How to retrieve | Use for |
|---|---|---|
| Wrangler docs | https://developers.cloudflare.com/workers/wrangler/ |
CLI commands, flags, config reference |
| Wrangler config schema | node_modules/wrangler/config-schema.json |
Config fields, binding shapes, allowed values |
| Cloudflare docs | Search tool or https://developers.cloudflare.com/workers/ |
API reference, compatibility dates/flags |
FIRST: Check if Wrangler is installed, and if not, install it
Check if Wrangler is installed by running:
wrangler --version # Requires v4.x+
If Wrangler is not installed, you should install it by running:
npm install -D wrangler@latest
Lines 1 - 27 of 917
Recommendations