wrangler-cli

Develop and deploy Cloudflare Workers using Wrangler CLI commands.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/biwakonbu/cc-plugins --skill wrangler-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler-cli
Source: https://github.com/biwakonbu/cc-plugins/tree/main/plugins/cloudflare-knowledge/skills/wrangler-cli
Command: npx skills add https://github.com/biwakonbu/cc-plugins --skill wrangler-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wrangler CLI provides a unified command suite to build, test, and deploy Cloudflare Workers projects, removing ad-hoc setup and scattered tooling.

Core Features & Use Cases

  • Command Reference: Comprehensive coverage of wrangler commands including dev, deploy, login, secret management, and deployments.
  • Project Configuration: Guidance on wrangler.toml, environments, and project scaffolding for multi-environment workflows.
  • Use Case: When starting a new Cloudflare Worker, you can scaffold, test locally, and deploy to production with a single, repeatable CLI workflow.

Quick Start

Try commands like: wrangler login; wrangler dev to run locally; wrangler deploy to publish.

Frequently Asked Questions about wrangler-cli

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

FAQPage Schema
How do I deploy a Cloudflare Worker using wrangler CLI?

To deploy a Cloudflare Worker, use the wrangler CLI by running `wrangler login` to authenticate, `wrangler dev` for local testing, and `wrangler deploy` to publish your project to production. This provides a repeatable CLI workflow for staging and production deployments.

What is wrangler.toml used for in Cloudflare Workers?

The wrangler.toml file configures your Cloudflare Workers project, handling project scaffolding, multi-environment workflows, and integrations with Cloudflare storage primitives like KV, R2, and D1. It centralizes environment-specific settings for local development and deployment.

Do I need Node.js and npm to develop Cloudflare Workers locally?

Yes, Node.js and npm are required to install the wrangler CLI, log in, and run the full suite of commands for local development. This Node.js-based setup enables you to test Cloudflare Workers locally before deploying to staging or production.

Can I configure multiple environments for Cloudflare Workers deployment?

Yes, you can configure multiple environments for Cloudflare Workers deployment using the wrangler.toml file. The wrangler CLI supports multi-environment workflows, allowing you to define separate configurations and deploy to staging or production environments individually.

How do I integrate KV, R2, and D1 with my Cloudflare Worker project?

You integrate KV, R2, and D1 with your Cloudflare Worker project by configuring these bindings in the wrangler.toml file. The wrangler CLI manages these integrations, allowing your local development and deployed Workers to interact with Cloudflare storage primitives.

What's the best way to manage secrets in a Cloudflare Workers project?

The best way to manage secrets in a Cloudflare Workers project is using the wrangler CLI's built-in secret management commands. This allows you to securely store and deploy sensitive environment variables alongside your wrangler.toml configuration without hardcoding them.