Thomashighbaugh
8/19/2018 - 11:26 AM

Install NodeJS, Yarn on BASH

Install NodeJS, Yarn on BASH

These commands are run in order to install node 10

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

These are for yarn (after node)

 curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
 sudo apt-get update && sudo apt-get install yarn

For Build Essentials

sudo apt-get install -y build-essential