Installing Ionic
Ionic apps are created and developed primarily through the Ionic
Install the Ionic CLI
Before proceeding, make sure the latest version of
$ npm install -g ionic
The
-goption means install globally. When packages are installed globally, permission errors can occur. Consider setting up npm to operate globally without elevated permissions. Running the command prompt as an Admin (or usingsudofor Mac & Linux) with npm is not recommended.
Start an App
Create an Ionic app using one of the pre-made app templates, or a blank one to start fresh. The three most common starters are the
blank starter, tabs starter, and
sidemenu starter. Get started with the
ionic start command:
$ ionic start myApp tabs
![]()
To learn more about starting Ionic apps, see the
Run the App
The majority of Ionic app development can be spent right in the browser using the
ionic serve command:
$ cd myApp
$ ionic serve
There are a number of other ways to run an app, it's recommended to start with this workflow. To develop and test apps on devices and emulators, see the





