How to uninstall cordova and ionic in ubuntu
If you require to remove cordova and ionic from ubuntu then you uninstall using terminal command. you can uninstall cordova then you can just run bellow command. I added two command one for uninstall cordova and other uninstall ionic framework.
sudo npm uninstall -g cordova
sudo npm uninstall -g ionic