Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Last active October 19, 2015 13:40
Show Gist options
  • Save tomysmile/712e68da88c9929da5c5 to your computer and use it in GitHub Desktop.
Save tomysmile/712e68da88c9929da5c5 to your computer and use it in GitHub Desktop.
Ionic: command list

Ionic command list :

Start your project:

$ ionic start [your-app-name] [based-template]

there are 3 based templates: blank, tabs, sidemenu and map

Choose your platform:

Android

$ ionic platform add android

IOS

$ ionic platform add ios

Build your application:

Make sure you already have platform (android or ios installed before building to device).

$ ionic build [platform]

Run your application:

Local Browser

$ ionic serve

Emulator

Make sure you already have platform (android or ios installed before running to emulator or device).

$ ionic emulate [platform]

Device

$ ionic run [platform]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment