Skip to content

Instantly share code, notes, and snippets.

@anton-gorbikov
Created August 29, 2019 19: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 anton-gorbikov/218fbfab98f210f6ad1ec572a01329c6 to your computer and use it in GitHub Desktop.
Save anton-gorbikov/218fbfab98f210f6ad1ec572a01329c6 to your computer and use it in GitHub Desktop.
fable-install-node
# Install curl
sudo apt-get update
sudo apt-get install curl
# Install Node.js
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# 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
echo 'export PATH="$(yarn global bin):$PATH"' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment