Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you completely remove Ionic and Cordova installation from mac?

How can I remove Cordova and ionic installation from my Mac completely? I am running mac os Yosemite 10.10.2

like image 859
monk Avatar asked Apr 03 '15 08:04

monk


People also ask

How do I uninstall Cordova NPM?

Removing plugins 'cordova plugin remove cordova-plugin-console' => Removes the console plugin from the project and deletes its entry from config. xml and package. json.

How do I uninstall Ubuntu ionic?

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.

How do I uninstall NPM?

And just as you can install a package from the npm library, you can uninstall it. To uninstall a package, you can use the command provided by npm for the purpose – npm uninstall .


2 Answers

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.

like image 134
Keval Avatar answered Oct 23 '22 18:10

Keval


To uninstall Ionic and Cordova:

sudo npm uninstall -g cordova
sudo npm uninstall -g ionic

To install:

sudo npm install -g cordova
like image 74
Lokesh Patel Avatar answered Oct 23 '22 16:10

Lokesh Patel