Uninstall node on ubuntu

To uninstall node js from ubuntu following steps can be done. $ apt-get remove nodejs # It will remove the package $ apt-get purge nodejs # It will remove configurations $ apt-get autoremove # It will remove unused file ashu@dev:~/work/sb/frontend$ sudo apt-get remove nodejsReading package lists… DoneBuilding dependency treeReading state information… DoneThe following packages were