Skip to content

Instantly share code, notes, and snippets.

@viix
Last active September 20, 2018 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viix/22df380b138182385b780fff7182caf3 to your computer and use it in GitHub Desktop.
Save viix/22df380b138182385b780fff7182caf3 to your computer and use it in GitHub Desktop.
ubuntu essential install script
// update nodejs
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install -y nodejs
nodejs -v
// install yarn
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
sudo apt-get update && sudo apt-get install yarn
yarn --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment