create-nextjs-cms
v0.5.32
Published
The best and official way to create a nextjs-cms project with all the necessary configuration and dependencies.
Readme
Create Nextjs CMS
The best and official way to create a nextjs-cms project with all the necessary configuration and dependencies.
Installation
You can create a new cms project interactively by running:
npx create-nextjs-cms
# or
yarn create nextjs-cms
# or
pnpm create nextjs-cms
# or
bun create nextjs-cmsProject Structure
After running create-nextjs-cms, you'll have a fully configured nextjs-cms project with:
- ✅ Next.js application setup
- ✅ CMS configuration files
- ✅ Database configuration
- ✅ TypeScript configuration
- ✅ All necessary dependencies
- ✅ Example sections and fields
- ✅ Development scripts
Next Steps
After creating your project:
cd my-cms-app
pnpm dev Then visit http://localhost:3000 to see your CMS in action!
Requirements
- Node.js 18+
- A package manager (pnpm, npm, yarn, or bun)
Troubleshooting
Directory already exists
If you try to create a project in a directory that already exists, you'll get an error. Either:
- Choose a different directory name
- Use
.to create in the current directory (must be empty)
Installation fails
If automatic dependency installation fails, you can manually install:
cd my-cms-app
pnpm install Template not found
If you see an error about the template directory not being found, ensure you're using the published version of the package from npm, not a local development version.
License
MIT License - see LICENSE file for details.
