wrangler

Deploy and manage Cloudflare Workers and related resources via the wrangler CLI.

2.6k|242|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/cloudflare/skills --skill wrangler-cloudflare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/cloudflare/skills/tree/main/skills/wrangler
Command: npx skills add https://github.com/cloudflare/skills --skill wrangler-cloudflare

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wrangler provides a unified command-line interface to deploy, develop, and manage Cloudflare Workers and associated resources across environments, reducing fragmentation and manual setup.

Core Features & Use Cases

  • Deployment & Management: Deploy Workers, KV, R2, D1, Vectorize, Hyperdrive, and other resources from a single CLI.
  • Local Development & Testing: Run local development servers, preview deployments, and simulate environments before production.
  • Config & Secrets: Manage configuration files, environments, and secrets for secure deployments.

Quick Start

Use the wrangler CLI to scaffold, configure, and deploy a Cloudflare Workers project.

  • npx wrangler init my-worker
  • wrangler dev

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 from the command line?

You can deploy Cloudflare Workers using the wrangler CLI by running npx wrangler init to scaffold your project, configuring environment bindings, and executing the deployment command to push your Worker to production.

What is the best way to manage Cloudflare R2 and D1 resources during local development?

The best way to manage Cloudflare R2, D1, and KV resources during local development is using wrangler dev, which simulates your environments and bindings locally before deploying to production.

Do I need npm to install the wrangler CLI for Workers deployments?

Yes, you need npm to install the wrangler CLI, as it is distributed as an npm package used to scaffold, configure, and deploy your Cloudflare Workers projects and associated resources.

Can I manage Cloudflare Workers secrets and configurations across different environments?

Yes, you can manage Cloudflare Workers secrets and configurations across different environments using a wrangler configuration file, which handles environment bindings and secure secret management for your deployments.

Does wrangler support deploying Cloudflare Queues, Workflows, and Vectorize resources?

Yes, wrangler supports deploying and managing Cloudflare Queues, Workflows, Vectorize, Hyperdrive, and Workers AI resources from a single unified command-line interface across your environments.