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 http://nodejs.org/download/. This location always ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.