NodeJS

About Installation
This guide will walk through installing Node.js behind nginx and using Monit to keep Node instances alive. Since Node.js is a single-process application, we will launch multiple instances of the application and load balance using nginx.

npm
Node.js has a USE flag to include npm, the Node.js package manager. You will need it to install a Node.js application's dependencies, which are defined in a file named package.json.

The current stable version of Node.js, 6.11.x, comes with npm 3.10.x.

If you need a newer version like npm 5.6.x, use Node.js 8.9.x (the next LTS release) or later. You can configure which version to pull in by setting keywords, e.g.:

Also see Knowledge_Base:Accepting_a_keyword_for_a_single_package.