Install node.js and npm

node.js and npm are required to build Lab. npm is included as part of node.js

OS X

Install the latest stable version of node with installers available here: http://nodejs.org/#download

Linux (Ubuntu)

To install the latest stable versions of node you first need to add this PPA repositories:

  1. node PPA repo

For this to work as intended python software properties must also be installed.

$ sudo apt-get install python-software-properties
$ sudo apt-add-repository ppa:chris-lea/node.js
$ sudo apt-get update

Now install node and npm:

$ sudo apt-get install nodejs npm