install ionic cordova code example
Example 1: install ionic globally
$ npm install -g @ionic/cli
Example 2: ionic download
$ ionic cordova plugin add integrator-cordova-plugin-downloader
$ npm install --save @ionic-native/downloader@4
$ npm install -g @ionic/cli
$ ionic cordova plugin add integrator-cordova-plugin-downloader
$ npm install --save @ionic-native/downloader@4