What is Cloudflare Workers SDK?
Cloudflare Workers SDK is a comprehensive set of tools and libraries for developing, testing, and deploying serverless applications on Cloudflare’s global network. The SDK provides everything you need to build production-ready Workers applications with exceptional performance, reliability, and scale.Core Components
The Workers SDK consists of three primary tools that work together to provide a complete development experience:Wrangler CLI
Wrangler is the command-line interface for building Cloudflare Workers. It provides:- Local development server with live reloading and DevTools integration
- Deployment to Cloudflare’s global network
- Project scaffolding and configuration management
- Built-in testing and debugging capabilities
Create Cloudflare (C3)
Create Cloudflare is a CLI for quickly scaffolding new applications with pre-configured templates and best practices:- Hello World workers
- Workers with static assets
- Durable Objects
- Scheduled workers (cron triggers)
- Framework integrations (React, Vue, and more)
Miniflare
Miniflare is a local development simulator powered byworkerd, the same runtime that runs your Workers in production. It provides:
- Accurate local simulation of the Workers runtime
- Support for all Cloudflare bindings (KV, R2, D1, Durable Objects)
- Integration with Wrangler and Vitest for testing
- Chrome DevTools integration for debugging
Why Choose Cloudflare Workers?
Global Performance
Deploy your code to 300+ cities worldwide. Workers run on Cloudflare’s edge network, ensuring minimal latency for users everywhere.
Zero Cold Starts
Workers start in less than 1ms with no cold starts. Your applications are always ready to handle requests instantly.
Standards-Based
Built on open web standards like the Service Worker API, Fetch API, and Web Streams. Your code is portable and future-proof.
Integrated Ecosystem
Access to KV (key-value storage), R2 (object storage), D1 (SQL database), Durable Objects, and more — all from the same runtime.
Key Features
Modern Development Experience
- TypeScript Support: First-class TypeScript support with full type definitions
- Hot Module Reloading: See changes instantly during development
- DevTools Integration: Debug with Chrome DevTools using breakpoints and console logging
- Testing Framework: Built-in testing with Vitest and
@cloudflare/vitest-pool-workers
Production-Ready Runtime
- Web Standards: Built on V8 and implements standard Web APIs
- Secure by Default: Isolated execution environment for each request
- Auto-scaling: Handles traffic spikes automatically without configuration
- Pay-per-use: Only pay for what you use with generous free tier
Get Started
Quickstart
Create your first Worker in under 5 minutes
Installation
Install and configure the Workers SDK
API Reference
Explore the Wrangler and Miniflare APIs
System Requirements
Node.js Version: The Workers SDK requires Node.js 20.0.0 or higher.Wrangler supports macOS 13.5+, Windows 11, and Linux distributions with glibc 2.35+.
Package Versions
The SDK includes these core packages:wrangler- Current version: 4.69.0create-cloudflare- Current version: 2.64.4miniflare- Current version: 4.20260305.0
Community and Support
Discord Community
Join thousands of developers building with Workers
GitHub Issues
Report bugs or request features
Discussions
Ask questions and share knowledge
Official Docs
Comprehensive Cloudflare Workers documentation