desinstalar iónico
npm uninstall -g ionic
npm i -g @ionic/cli
Puzzled Penguin
npm uninstall -g ionic
npm i -g @ionic/cli
// First, you should list your plugins:
cordova plugin list
// With this result, you can simply do:
cordova plugin remove <PLUGIN_NAME>
// For example:
cordova plugin remove org.apache.cordova.media
Hope it helps.
$ npm uninstall -g ionic