Create a new Pages project

cloudflare pages

// what it does

Registers a new direct-upload Pages project you can then ship to with `pages deploy`. Run it once per app before your first deployment. `project list` shows every project on the account with its production branch and domains.

// shell

$ wrangler pages project create my-app
$ wrangler pages project list

// gotcha

The command prompts interactively for the production branch name (usually `main`); only deploys to that branch publish to your live domain, so pick it deliberately.