Ionic apps are created and developed primarily through the Ionic command line utility (the “CLI”), and use Cordova to build/deploy as a native app.
Install Ionic is a really simple process, let’s get started!
1.) Getting Node and NPM
Get Node and NPM installed on your machine is through the NodeJS installer.
2.) Ionic CLI and Cordova
Install the Ionic and Cordova CLI using command
$ npm install -g ionic cordova
That’s it, very easy and simple, right?
Now let’s quickly create the first Ionic App.
$ ionic start helloWorld blank
To run your app,
cd into the directory that was created and then run command to
$ cd helloWorld $ ionic serve
Access the app on browser at http://localhost:8100