Npm install -g cordova ionic and cordova

npm install -g cordova ionic and when create new app that time installing cordova and ionic?