Install node.js and npm

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


Install the latest stable version of node with installers available here:

Install yarn using homebrew: brew install yarn or check other installation methods:

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
  1. Install Yarn: