0

although I try with all nodejs uninstall command, still node version and npm version is showing when I run npm -v
I run followingh commands:

sudo apt-get remove nodejs

sudo apt-get remove npm
sudo apt-get update



sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node /opt/local/include/node /opt/local/lib/node_modules 

sudo rm -rf /usr/local/lib/node*

sudo rm -rf /usr/local/include/node*

sudo rm -rf /usr/local/bin/node*

List item

0

You try launching the apt-get remove nodejs --purge and apt-get remove npm --purge

If the command continue runs, you try launh find / -name npm ,check the result and delete files what do you consider necessaries.

Regards

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.