Last active
January 6, 2022 00:34
-
-
Save SirmaXX/b0f418c9da1f1772552a3679419ff901 to your computer and use it in GitHub Desktop.
remove all components of nodejs and node.js and installation
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
#author:SirmaXX | |
#date :20/02/2020 | |
#removing | |
sudo apt-get upgrade | |
sudo apt-get update | |
sudo npm uninstall npm -g | |
cd /usr/local/bin | |
sudo rm -rf /usr/local/bin/npm | |
sudo rm -rf /usr/local/bin/node | |
sudo apt-get autoremove | |
sudo apt-get purge --auto-remove nodejs | |
#installation | |
sudo apt install npm nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment