In this article we are going to install ionic and its dependencies on windows operating system, but you can develop an ionic application on any operating system. To the installation of ionic and its dependencies such as Cordova Plugin etc we use command line tool. As we told in my previous
article we may develop on app for different platforms (Windows Phone, Android, IOS) . Here we develop Android app using Ionic1 and Cordova. Ionic has different version such as ionic1, ionic2 and ionc3 the most recent version of ionic is ionic3, but here we start from ionic1.
Installation - Setup of Ionic
1- To install Ionic and Cordova we need to install NodeJs. Download latest NodeJs from their official website and install.
npm –v and hit enter to see the version of npm (nmp mean node package manager this manager will install ionic and cordova for us.) installed. For the installation of ionic and cordova follow below steps.
- ionic -v
- cordova -v
"Ionic is not recognized as an internal or external command"
How to downgrade nmp
How to uninstall cordova and ionic >> npm uninstall -g cordova ionic
How to install specific version of ionic and cordova>> To install specific version use @ symbol with version number, e.g.
npm install -g firstname.lastname@example.org
npm install -g email@example.com
Now that we have installed cordova and ionic in our local machine in my next article we will setup
Environment for Android Applications .