Appendix A. Installing the stack

This appendix covers

  • Installing Node and npm
  • Installing Express globally
  • Installing MongoDB
  • Installing Angular

Before you can build anything on the MEAN stack you’ll need to install the software to run it. This is really easy to do on Windows, Mac OS X, and the more popular Linux distributions like Ubuntu.

As Node underpins the stack, that’s the best place to start. Node now also ships with npm included, which will be very useful for installing some of the other software.

A.1. Installing Node and npm

The best way to install Node and npm depends on your operating system. When possible it’s recommended to download an installer from the Node website at This location always ...

Get Getting MEAN with Mongo, Express, Angular, and Node now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.