Skip to content

Instantly share code, notes, and snippets.

@zicodhkbd
Created November 1, 2019 17:36
Show Gist options
  • Save zicodhkbd/3cd8627be5e71d0534515f303b985c41 to your computer and use it in GitHub Desktop.
Save zicodhkbd/3cd8627be5e71d0534515f303b985c41 to your computer and use it in GitHub Desktop.
Node.js v10.x
#!/bin/sh
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install gcc g++ make
sudo curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo 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
node --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment