← Registry
CLI Official

create-cloudflare (C3)

Official scaffolding CLI that bootstraps and deploys new Workers and framework-based projects using Cloudflare-maintained templates, and installs Wrangler.

Install

npm create cloudflare@latest
$

A scaffolding CLI for creating and optionally deploying new Workers and Pages projects through interactive prompts or non-interactive flags for CI. Choosing Framework Starter invokes a framework's own generator for Angular, Astro, Hono, Next.js, Nuxt, Qwik, React, Remix, SolidStart, SvelteKit, Vue, and more, so you get the latest version and native setup. It can initialize git, pick TypeScript, JavaScript, or Python, deploy to your account, or bootstrap from a custom --template repo; pass --platform=pages for a Pages project.