How can I remove Cordova and ionic installation from my Mac completely? I am running mac os Yosemite 10.10.2
BlueBell's answer is right, you can do it by:
npm uninstall cordova ionic
Are you planning to re-install it? If you feel something's wrong which is causing problems then you should update npm and clean npm's cache.
npm cache clean -f
npm install npm -g
If problems still persist, I'd suggest re-install of NPM and Node.
npm uninstall node
apt-get purge npm
apt-get install npm
npm install node -g
Let me know if you face issues in the process.
Here the command to remove cordova and ionic from your machine
npm uninstall cordova ionic
Command to remove Cordova and ionic
For Window system
For Mac system
For install cordova and ionic
eg.
sudo npm install -g cordova@6.0.0
sudo npm install -g ionic@2.1.18
command to remove cordova and ionic
sudo npm uninstall -g ionic
To uninstall Ionic and Cordova:
sudo npm uninstall -g cordova
sudo npm uninstall -g ionic
To install:
sudo npm install -g cordova
If you want to delete ionic and cordova at same time.Run this code in cmd
npm uninstall -g ionic cordova