IONIC V3 | STARTING COMMANDS | IONIC BASICS

Share the post

starting_commands

  • 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 use the following command :
cd projectNameHere enter
ionic serve
Ionic Serve Command

 

  • Adding Browser Platform to Ionic 3 Project :
to install 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