This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
mern-cli with all
npm packages installed. Try it out:
mern-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A CLI for getting started with MERN stack. It offers a super simple boilerplate project and additional utilities to get started with isomorphic React and Redux apps.
npm install -g mern-cli
init [name] -t=<variant_name> Initialize a MERN project (Default variant: mern-starter). list List MERN variants search [term] Search for a MERN variant info [term] View details of a MERN variant
Create a new app with default
mern init my_app
cd my_app && npm install
Generate React components, Express routes and controllers and Mongoose models using mern generator.
To list out all available generators
mern -v // Check CLI version mern --help // Get help and check usage
MERN is released under the MIT License.