IONIC STARTING COMMANDS

Share the post

Hello All, In this Ionic tutorial, We will discuss What the Ionic Starting commands are in detail.

  • Installation of Ionic :

To install or update ionic on your windows machine just open a command prompt (cmd) in administrative mode and write the following command :  

npm install -g ionic@latest
Install Or Update Command
  • Create a new Ionic 3 Project :

to install the default basic project of ionic v3 use the following command :  

ionic start projectNameHere
Ionic Start Command
  • Ionic serve :

to run the app on the default browser using the following command :  

cd projectNameHere enter
ionic serve
Ionic Serve Command
  • Adding Browser Platform to Ionic 3 Project :

to install the browser platform use the following command :  

ionic cordova platform add browser
Ionic Platform Add Browser Command
  • Adding Android Platform to Ionic 3 Project :

  to install the android platform use the following command :

ionic cordova platform add android
Ionic Platform Add Android Command
  • Build Ionic 3 Project :

to build an app for an android device using the following command :  

ionic cordova build android
Ionic Build Android Command
  • Run Ionic 3 Project :

to run the app on an android device using the following command :  

ionic cordova run android
Ionic Run Android Command

Leave a Comment