node.js and npm are required to build Lab. npm is included as part of node.js. yarn needs to be installed separately.
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
To install the latest stable versions of node you first need to add this PPA repositories:
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
- Install Yarn: https://yarnpkg.com/en/docs/install#linux-tab