How to uninstall Cordova and Ionic completely from windows

1

I need to uninstall Cordova and Ionic from my machine completely without leaving any references or caches so that when reinstalling I guarantee that all instances are absolutely new.

I would like to know the npm command for this?

    
asked by anonymous 21.07.2017 / 15:40

2 answers

1

Run:

npm uninstall cordova ionic

If you intend to reinstall later, you need to clear the cache:

npm cache clean -f
npm install npm -g

If the problem persists, it is recommended that you uninstall and install the node:

npm uninstall node
apt-get purge npm
apt-get install npm
npm install node -g
    
30.07.2017 / 15:43
0

The way I work for myself:

npm uninstall -g cordova
npm uninstall -g ionic
    
18.08.2018 / 18:48