How can I remove Cordova and ionic installation from my Mac completely? I am running mac os Yosemite 10.10.2
This question is related to
javascript
node.js
cordova
ionic-framework
You can use following command if you uninstall globally
npm uninstall -g cordova ionic
option g for global
if you want to uninstall from he drive then you can use following command
npm uninstall cordova ionic
I found that I had to use:
npm uninstall @ionic/cli
to stop ionic from still being active.
1) first remove cordova cmd
npm uninstall -g cordova
2) After that remove ionic
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
command to remove cordova and ionic
sudo npm uninstall -g ionic
Command to remove Cordova and ionic
For Window system
For Mac system
For install cordova and ionic
eg.
sudo npm install -g [email protected]
sudo npm install -g [email protected]
Here the command to remove cordova and ionic from your machine
npm uninstall cordova ionic
These commands worked for me:
npm uninstall -g cordova
npm uninstall -g ionic
If you want to delete ionic and cordova at same time.Run this code in cmd
npm uninstall -g ionic cordova
Source: Stackoverflow.com