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