What is Ionic?


Ionic is an open source, front-end SDK for developing Hybrid Mobile Applications using web technologies such as HTML, CSS and JavaScript. It provides mobile optimised web technology based components as well as native APIs using Cordova and Ionic Native.

Ionic with it’s latest version, is performance efficient using minimal DOM manipulation. Angular also plays a major role in increasing the performance of an Ionic application.

It has it’s own command line interface tool that is really helpful to scaffold and develop an application and majorly in avoid writing boilerplate code, thus, saving precious time.

Development Setup for Ionic

Nodejs and npm

To develop and run Ionic apps, we need Nodejs, most importantly, because Ionic uses Node’s CLI to build tasks and generate resources. Navigate to Nodejs official website to download Nodejs and it’s package manager: npm.

To check of Nodejs is installed correctly, in your terminal window:

1$ node -v
4$ npm -v

npm is a Package Manager that is used to download almost every dependency in an Ionic Project.


Next step is to install TypeScript compiler.

1$ npm install -g typescript
3# After installtion, to check if installed correctly:
4$ tsc -v
5Version 2.3.4

Install Cordova and Ionic CLI

1$ npm install -g cordova ionic

Verify your installation by:

1$ cordova -v
4$ ionic info
5global packages:
7 @ionic/cli-utils : 1.3.0
8 Ionic CLI : 3.3.0
12 Node : v6.11.0
13 OS : macOS Sierra
14 Xcode : Xcode 8.1 Build version 8B62
15 ios-deploy : not installed
16 ios-sim : not installed

Platfrom Guides

To install platform such as iOS and espcially android, I will want you to refer the official guidelines:

Originally Published at Hackernoon.com

I'm Aman working as an independent fullstack developer with technologies such as Node.js, ReactJS, and React Native. I try to document and write tutorials to help JavaScript, Web and Mobile developers.