Why this message is showing?

why this message is showing when starting any new project or using serve:

 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`


If you installed using:

npm install -g ionic cordova

it’s possible that cordova’s version is not the latest, that message is telling you to update. It really wont jeopardize your project.

Thanks @renannobile in fact I used separated commands to install cordova and ionic but i think first I’ve installed ionic then cordova.