OpeNext CMS · Developer Docs

CLI & Local Development

Get OpeNext CMS running locally with Node.js and MongoDB.

Requirements

  • Node.js 20+ (Node 22 LTS recommended)
  • MongoDB 6+ (local instance or MongoDB Atlas)
  • npm, yarn, or pnpm

Clone & install

git clone https://github.com/OpenNextCMS/openext.git
cd openext
npm install

Environment

Copy the example env file and configure your database connection:

# .env
MONGODB_URI=mongodb://localhost:27017/openext
JWT_SECRET=your-secret-key

Run development server

npm run dev

The CMS runs on port 3011 by default:

http://localhost:3011

Production build

npm run build
npm run start

Next steps

See the Get Started guide or the GitHub repository for the latest setup instructions.