Generate New Cloudflare Workers Projects with Wrangler's generate Command

Share this video with your friends

Send Tweet

Wranglers generate command, wrangler generate, allows you to create new Cloudflare Workers projects. Using the URL parameter, you can also generate new projects based on Cloudflare's starter templates, or open-source projects created by other developers, but for now, you will just use the default. To do this you'll only need to give it a name, for example, wrangler generate my-worker, this will create a new project called my-worker.