Deploy a MEAN app with Nginx and PM2 This is a short summary of how to deploy a MEAN app (MongoDB, Express, Angular, and Node.js) on Nginx and run the app with PM2. 1. Install Node/NPM on a production server curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.