Installation of Cordova and ionic which are frequently install together can't be installed directly. These frameworks are installed through command prompt. In this post you will learn how to install Cordova and ionic framework.
For installation for Cordova NAD ionic we need to install a third party toll node js. You can down this from here. Once you downloaded install this software. To check proper installation of node js open command prompt and type npm. If the output is as shown below then no problem but if this is not the output reinstall the node js.
Next step is open command prompt and type following code
npm install -g Cordova
Above code is for Cordova installation once you hit enter it's gonna take some time for installation. For installation of ionic you need to type the following code
npm install -g ionic