how to remove node js completely from ubuntu code example Example: uninstall node js and npm ubuntu sudo apt-get purge --auto-remove nodejs