Skip to content

Instantly share code, notes, and snippets.

@anushshukla
Created December 1, 2018 10:04
Show Gist options
  • Save anushshukla/75f4ea8266cdc64ff59235f3f48ec9b0 to your computer and use it in GitHub Desktop.
Save anushshukla/75f4ea8266cdc64ff59235f3f48ec9b0 to your computer and use it in GitHub Desktop.
Installs node (nvm automatically) and yarn
## Ypdating Yarn repositories
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
## Ypdating Yarn repositories
curl -sS 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
## Updating apt with updated repositories
sudo apt-get update
## Installing packages
sudo apt-get install node nvm yarn -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment