Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 995 Bytes

setup-node.md

File metadata and controls

28 lines (16 loc) · 995 Bytes

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

Install yarn using homebrew: brew install yarn or check other installation methods: https://yarnpkg.com/en/docs/install#mac-tab

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: https://yarnpkg.com/en/docs/install#linux-tab