Skip to content

What is Ionic

Published:

2 min read

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:

$ node -v
v6.11.0

$ npm -v
3.10.10

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

TypeScript

Next step is to install TypeScript compiler.

$ npm install -g typescript

# After installation, to check if installed correctly:
$ tsc -v
Version 2.3.4

Install Cordova and Ionic CLI

$ npm install -g cordova ionic

Verify your installation by:

$ cordova -v
7.0.1

$ ionic info
global packages:

    @ionic/cli-utils : 1.3.0
    Ionic CLI        : 3.3.0

System:

    Node       : v6.11.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.1 Build version 8B62
    ios-deploy : not installed
    ios-sim    : not installed

Platform Guides

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

Originally Published at Hackernoon.com

I'm a software developer and a technical writer. On this blog, I write about my learnings in software development and technical writing.

Currently, working as a documentation lead at Expo.