setup-opennext-cf
Instantly prepare your
Next.js project for deployment on
Cloudflare using
OpenNext.
š Quick Start
Run the following command inside your Next.js project:
``
bash
npx setup-opennext-cf
``
In a few seconds, your project will be automatically configured and ready for deployment on
Cloudflare using:
š
https://opennext.js.org/cloudflare
š¦ What This Does
- Sets up the required OpenNext structure
- Configures Cloudflare deployment files
- Optimizes your Next.js project for Cloudflare Workers / Pages
- Zero manual setup needed
š Requirements
- Node.js 18+
- Next.js project (any version supported by OpenNext)
š” Notes
- Run the command inside the
root of your Next.js project.
- You can re-run it anytime; it safely updates config without breaking custom settings.
---