| see installed version | cordova -v or cordova --version | 
| see the latest version available | npm info cordova | 
| to upgrade to latest version | npm update -g cordova -g means install globally otherwise need to uninstall and reinstall npm uninstall -g cordova npm install -g cordova | 
Ionic CLI
| installed version | ionic -v or ionic --version | 
| latest version available | npm info ionic | 
| to upgrade to latest version | npm update -g ionic -g means install globally otherwise need to uninstall and reinstall npm uninstall -g ionic npm install -g ionic | 
Plugin of an Cordova app
| installed version | npm list thePluginName | 
| latest version available | npm info thePluginName | 
| to upgrade to latest version | npm update thePluginName otherwise need to uninstall and reinstall or you can try to use cordova-check-plugins plugin | 
| to add to project | cordova plugin add thePluginName or ionic cordova plugin add thePluginName | 
| to remove from project | cordova plugin remove thePluginName or ionic cordova plugin remove thePluginName | 
You can also use
ionic infocommand in an App directory to check Ionic CLI, Ionic Framework, Cordova CLI, Platforms, Plugins installed and other information.
 
 

No comments:
Post a Comment