How to Install the Ionic
in Learning, Tips and Tricks
Install Ionic
npm install -g ionic
First, install Node.js. Then, install the latest Ionic command-line tools in your terminal. Follow the Android and iOS platform guides to install required tools for development.
Start an app
ionic start myApp tabs
Create an Ionic App using one of our ready-made app templates, or a blank one to start fresh. Check out the Market for more designs.
For v1 projects, use the --type ionic1 flag.
$ ionic start myApp blank
$ ionic start myApp tabs
$ ionic start myApp sidemenu
Run your app
cd myApp ionic serve
Much of your app can be built right in the browser with ionic serve. We recommend starting with this workflow.
When you're ready to deploy your app to a real device, check out our Deploying guide.
Related