Skip the Boilerplate,
Start Building

Stop wasting time on boilerplate. cma-cli scaffolds a modern MERN stack application with everything you need to get started.

$ npx cma-cli
HeroHero

Packed with Features

Everything you need for a great developer experience.

Smart Interactive CLI

Intuitive and adaptive command-line interface guiding you through setup, tech choices, and project structure, all in one smooth flow.

JavaScript & TypeScript

Choose your preferred language with full TypeScript support for type safety.

Modern Stack (React, Node.js, Express, MongoDB)

Up-to-date technologies ensuring powerful, maintainable full-stack development.

Concurrent Workspace

Run client and server simultaneously with Concurrently, streamlining development in a unified workspace.

Flexible Project Setup

Select between client-only, server-only, or full-stack setup with automatic Git initialization and environment scaffolding.

Multi-Package Manager Support

Optimized installation with support for npm, pnpm, bun and yarn, choose your favorite and save time with faster dependency setup.

Enhanced Middleware & Security

Pre-configured with Helmet, CORS, rate limiting, and structured middleware setup for production-grade API security.

Installation Guide

Get started in just a few steps.

Quick Install (Recommended)

The easiest way to get started is to use `npx`. This ensures you are always using the latest version of the CLI.

$ npx cma-cli

Global Installation

You can also install the CLI globally on your system.

$ npm install -g cma-cli
$ cma-cli

If you install globally, remember to update the package periodically to get the latest features and security patches.
npm update -g cma-cli

Folder Structure

A well-organized template to keep your code clean.

my-mern-app/
client/# React + Vite
public/
src/
assets/
components/
config/
context/
hooks/
pages/
utils/
App.jsx
global.css
Layout.jsx
main.jsx
eslint.config.js
index.html
package.json
vite.config.js
server/# Node.js + Express
src/
__tests__/
config/
middleware/
models/
routes/
utils/
server.js
eslint.config.js
package.json
vitest.config.js
package.json
README.md

Ready to build?

Get your next MERN project up and running in under a minute.

$ npx cma-cli