Instale a Ionic globalmente
$ npm install -g @ionic/cli
JaaVid
$ npm install -g @ionic/cli
npm uninstall -g ionic
npm i -g @ionic/cli
To go git bash or command prompt and type the following:
npm install -g @ionic/cli
To install Cordova and Ionic, use
npm install -g ionic cordova