Skip to content

Instantly share code, notes, and snippets.

@miketromba
Last active May 10, 2021 18:21
Show Gist options
  • Save miketromba/cc0551fb2127de67539bb67d5b850300 to your computer and use it in GitHub Desktop.
Save miketromba/cc0551fb2127de67539bb67d5b850300 to your computer and use it in GitHub Desktop.
install node and docker
# (use docker droplet)
# Install node and npm:
sudo apt update
sudo apt install nodejs
sudo apt install npm
# Now, docker + node + npm should be ready.
# Yarn, optional:
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 install --no-install-recommends yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment