Last active
February 1, 2021 04:58
-
-
Save anudit/194f764c922d5329fe70ebdb3de65de4 to your computer and use it in GitHub Desktop.
Setup Node 14, npm, yarn, make on Ubuntu 20 or WSL
This file contains 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
bash <(curl -sL ${https://gist.githubusercontent.com/anudit/194f764c922d5329fe70ebdb3de65de4/raw/d0eb310ddf86a214843a8fa5701595c53dcfc2e4/setup.sh}) |
This file contains 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
#!/usr/bin/env bash | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
cd ~ | |
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh | |
sudo bash nodesource_setup.sh | |
sudo apt install -y nodejs | |
node -v | |
npm -v | |
sudo apt-get install gcc g++ make | |
curl -sL 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment