Last active
September 2, 2021 05:12
-
-
Save moeiscool/4a7776bb90f12496bd797ceb85ca0ba8 to your computer and use it in GitHub Desktop.
Install Node.js 12 on Ubuntu 20.04
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
wget https://deb.nodesource.com/setup_12.x | |
chmod +x setup_12.x | |
./setup_12.x | |
sudo apt install nodejs make gcc-8 g++-8 -y | |
sudo apt install node-pre-gyp -y | |
rm setup_12.x | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment