Last active
November 29, 2019 10:49
-
-
Save ROZ-MOFUMOFU-ME/b0cd808f5a28993b1ebd70e06741e366 to your computer and use it in GitHub Desktop.
Install node&npm for zny-nomp on Ubuntu
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
/* Install nodejs and npm | |
sudo apt install nodejs npm | |
/* Install node version control tool "n" | |
sudo npm install n -g | |
/* Install node v9 | |
sudo n v9 | |
/* Install npm | |
sudo npm install npm -g | |
/* Delete old nodejs and npm | |
sudo apt purge -y nodejs npm | |
/* Create symbolic link | |
sudo ln -sf /usr/local/bin/node /usr/bin/node | |
sudo ln -sf /usr/local/bin/npm /usr/bin/npm | |
/* Check your node&npm ver. | |
node -v | |
npm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment