uninstall node js and npm ubuntu
sudo apt-get purge --auto-remove nodejs
Source: askubuntu.com
uninstall npm ubuntu
sudo apt-get remove nodejs sudo apt-get remove npm
Source: stackoverflow.com
how to completely remove node from ubuntu
sudo apt-get purge nodejs
Source: askubuntu.com
uninstall node js from ubuntu
$ npm cache clean -f $ sudo apt-get purge --auto-remove nodejs