wrangler

Automate Cloudflare Workers deployment and development with the Wrangler CLI.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/daveio/syn-horse --skill wrangler-daveio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/daveio/syn-horse/tree/main/.agents/skills/wrangler
Command: npx skills add https://github.com/daveio/syn-horse --skill wrangler-daveio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cloudflare Wrangler CLI provides a unified interface to deploy, develop, and manage Cloudflare Workers and related resources, simplifying multi-resource configurations and deployment workflows.

Core Features & Use Cases

  • Unified deployment workflow: Manage Workers, KV, R2, D1, and other resources from a single CLI.
  • Environment-aware deployments: Define multiple environments (staging, production) and run consistent builds.
  • Local development and testing: Start a local dev server to iterate quickly before deployment.
  • Use Case: Bootstrapping a new Cloudflare Worker project and automating subsequent deployments to multiple environments.

Quick Start

Initialize a new Cloudflare Worker project with wrangler and begin local development.

Frequently Asked Questions about wrangler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Cloudflare Workers using a CLI?

You can deploy Cloudflare Workers using the Wrangler CLI to automate publishing your project to the edge. It handles building, environment configuration, and deploying Workers alongside bound resources like KV, R2, and D1.

Can I configure staging and production environments for Cloudflare Workers?

Yes, you can configure staging and production environments for Cloudflare Workers using JSONC configuration files. The Wrangler CLI supports environment-aware deployments, allowing you to define distinct settings and resource bindings for each target.

What is the best way to run a local Cloudflare Workers dev server?

The best way to run a local dev server for Cloudflare Workers is using the wrangler dev command. This local development option allows you to iterate quickly and test your Worker's functionality and environment bindings before deploying to production.

Does the Wrangler CLI support managing D1, KV, and R2 resources together?

Yes, the Wrangler CLI supports managing D1, KV, and R2 resources together through a unified deployment workflow. You can configure environment bindings for these resources and deploy them alongside your Cloudflare Workers using a single command line interface.

Do I need a compatibility_date setting to bootstrap a Cloudflare Worker project?

Yes, specifying a compatibility_date is required when bootstrapping a Cloudflare Worker project to ensure runtime consistency. The Wrangler CLI uses this setting in your configuration to determine the Workers runtime features available to your deployed project.

Why does my wrangler deploy command fail to bind secrets to my Worker?

A wrangler deploy command might fail to bind secrets if they are not properly configured in your environment settings. You must use the wrangler secrets commands to add sensitive environment variables before deploying your Cloudflare Worker to production.