cloudflare/wrangler logo

cloudflare/wrangler

Free

Deploy and manage Workers, KV, R2, D1, Vectorize, Queues, Workflows

FreeFree tier
Type
Open Source
Founded
2009
Company
Cloudflare, Inc.

About cloudflare/wrangler

Wrangler is the official command-line interface (CLI) tool for deploying and managing Cloudflare Workers and other Cloudflare products, including KV, R2, D1, Vectorize, Queues, and Workflows. It enables developers to develop, test, and deploy serverless applications on Cloudflare's global edge network, offering local development servers and seamless integration with Cloudflare's ecosystem.

Key Features

Deploy Cloudflare Workers to the edge network
Manage KV namespaces and key-value pairs
Manage R2 object storage buckets and objects
Manage D1 databases for serverless SQL
Manage Vectorize vector database indexes
Manage Queues for message passing and task processing
Manage Workflows for durable execution
Local development server with wrangler dev
Wrangler CLI for automation and CI/CD integration
Open-source with community support

Pros & Cons

Pros
  • Open-source and free to use
  • Integrates seamlessly with Cloudflare's serverless ecosystem
  • Supports local development and testing with wrangler dev
  • Enables quick deployment and scaling of edge functions
  • Extensive documentation and community support
Cons
  • Tied exclusively to Cloudflare's platform
  • Requires a Cloudflare account and API tokens
  • CLI-based; no graphical interface
  • Learning curve for users new to Cloudflare's products

Best For

Deploying serverless functions on Cloudflare's edgeBuilding and managing serverless applications with WorkersStoring and retrieving data using KV, R2, or D1Implementing vector search with VectorizeProcessing messages and tasks with QueuesOrchestrating multi-step workflows with WorkflowsAutomating Cloudflare resource provisioning via CLI

FAQ

What is Wrangler?
Wrangler is the official command-line interface (CLI) tool for deploying and managing Cloudflare Workers and related Cloudflare products like KV, R2, D1, Vectorize, Queues, and Workflows.
Is Wrangler free to use?
Yes, Wrangler is open-source and free to use. You only pay for the Cloudflare services you consume.
How do I install Wrangler?
Wrangler can be installed via npm (npm install -g wrangler) or downloaded as a standalone binary from the Cloudflare GitHub releases page.
Can I use Wrangler to develop Workers locally?
Yes, Wrangler includes a local development server (wrangler dev) that simulates the Cloudflare Workers runtime for testing before deployment.