Get Started with Cloudflare Workers

This guide will help you install Wrangler, the Workers CLI, and deploy your first Worker.

1Install Wrangler CLI

Wrangler is the official CLI for managing Cloudflare Workers. Install it using your package manager:

2Verify Installation

Check that Wrangler is installed correctly:

wrangler --version

3Authenticate with Cloudflare

Login to your Cloudflare account:

wrangler login

4Create Your First Worker

Use Wrangler to scaffold a new Worker project:

wrangler init my-worker cd my-worker

5Deploy to Production

When you're ready, deploy your Worker:

wrangler deploy

Next Steps: Explore our examples, tutorials, and API documentation to build your next project.