Last active
May 10, 2021 18:21
-
-
Save miketromba/cc0551fb2127de67539bb67d5b850300 to your computer and use it in GitHub Desktop.
install node and docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (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