The Ionic framework is the framework of a framework. It depends on many software. You must install those software to install Ionic. Windows installation is always easy, because it is straight forward.
List of software to install
- Git SCM
- Apache Cordova
Use the below URL to get Node.js.
Download latest version of Node.js and click next and proceed to install Node.js in your Windows environment. Node.js available for both 32 and 64 bit operating systems.
Installing Git SCM
Use the below URL to get Git.
It also a standard installation of windows. Download latest version and click next and proceed to install Git SCM(Source Code Management).
That's all. You successfully installed Node.js and Git.
To get the installed version of Node.js, go to command prompt(type cmd in run) and execute the below command.
To get the installed version of Git, open Git Bash (search Git Bash from all programs )and type.
Apache Cordova Installation
npm install -g cordova
Open Git Bash and execute the above command to install Apache Cordova in Windows.
It will take time depending upon your internet speed.
Ionic Framework Installation
npm install -g ionic
Execute the above command in Git Bash to install Ionic Framework. If everything is successfully installed, you are set to develop a hybrid mobile application.
To get installed version of ionic use below command.
So far, you have set up Ionic Framework only. With this installation alone, we cannot build(create) Android(apk) and iOS(ipa) application file. By using Ionic framework, you can develop mobile applications, but you can’t build. To build Android and iOS, you must install corresponding SDK. For iOS SDK, we need Mac(This is explained in another post).
To install Android SDK , you must install Java before Android.
The latest version of Java is JDK8. You can download Java for Windows using the below link
Download and click next and proceed to install Java. That's all, you have installed Java. After installing Java, you must include the installed Java location to the path.
To set Java path, right click on My Computer and then go to Properties. In Properties click.
Advanced System Settings ->Advanced->Environment Variables
In Environment Variables, if path variable doesn’t exist, create a new variable named as path or click Edit button close to path and give the installed Java location as value.
The Java installed location will look like below.
Download Android Studio Bundle using the below link(The file size is more than 1GB).
After downloading click next and proceed to install Android.
That's all. Everything is set. Now you can develop Android application using Ionic Framework and build APK files.