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

  1. Node.js
  2. Git SCM
  3. Apache Cordova
  4. Ionic

Installing Node.js

Use the below URL to get Node.js.

https://nodejs.org/en/

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.

https://git-scm.com/

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.


npm version

To get the installed version of Git, open Git Bash (search Git Bash from all programs )and type.


git --version

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.


ionic info

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.

Installing Java

The latest version of Java is JDK8. You can download Java for Windows using the below link

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

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.

C:\Program Files\Java\jdk1.8.0_73\bin

Installing Android

Download Android Studio Bundle using the below link(The file size is more than 1GB).

http://developer.android.com/sdk/index.html

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.