wrangler

Manage and deploy Cloudflare Workers and related services from the command line.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill wrangler-theslashdojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrangler
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/cloudflare/wrangler
Command: npx skills add https://github.com/theslashdojo/dojo --skill wrangler-theslashdojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wrangler, and includes scripts (resource) components.

What problem does it solve?

Simplifies the full lifecycle of Cloudflare edge development by providing a single CLI to scaffold projects, run local development, manage bindings and storage, stream logs, and deploy to the edge so developers and automation agents avoid manual, error-prone steps across multiple consoles and APIs.

Core Features & Use Cases

  • Install and authenticate the Wrangler CLI to manage Cloudflare Workers and related resources from your terminal.
  • Local development with hot reload using Miniflare and optional remote bindings for testing with real cloud resources.
  • Deploy Workers and manage environment-specific configuration via wrangler.toml, including KV, R2, D1, and Pages bindings, secrets, cron triggers, and rollbacks.
  • Stream production logs with wrangler tail and filter by status or search terms, and run migrations or SQL commands for D1 databases.
  • Use Case: Scaffold a Worker, iterate locally with hot reload, store assets in R2, persist small data in KV, run migrations against D1, and push a versioned deployment to staging and production.

Quick Start

Install or update Wrangler, authenticate with your Cloudflare API token and account ID, scaffold a new Worker project, start the dev server, and deploy the first release in a few straightforward steps.

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?

Deploy Cloudflare Workers from the command line by installing the Wrangler CLI, configuring wrangler.toml with environment bindings, and executing the deploy command to push versioned releases to the edge.

Can I test Cloudflare Workers locally before deploying to production?

Yes, you can test Cloudflare Workers locally using Miniflare for hot reload development, with optional remote bindings to interact securely with real cloud storage resources during your local testing sessions.

What's the best way to manage R2 and KV storage bindings for a Worker?

Manage R2 and KV storage bindings by defining them in your wrangler.toml configuration file, allowing the Wrangler CLI to seamlessly provision and link these storage resources during local development and edge deployments.

Do I need Node.js and API credentials to use the Wrangler CLI?

Yes, authenticated Wrangler CLI operations require Node.js version 18 or higher, a valid installation of the wrangler package, and your CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID credentials.

How does streaming production logs for Cloudflare Workers work?

Stream production logs for Cloudflare Workers by running the tail command, which lets you filter real-time edge traffic output by specific HTTP status codes or custom search terms.

How do I run SQL migrations against a D1 database in a CI/CD pipeline?

Run SQL migrations against a D1 database in CI/CD pipelines by executing migration commands through the Wrangler CLI, leveraging your authenticated API credentials to manage schema changes automatically.