This page describes the initial setup steps. Follow the steps to get the app setup and running on your dev environment, as well as on your devices.
Ionic apps are created and developed primarily through the Ionic command-line utility. The Ionic CLI is the preferred method of installation, as it offers a wide range of dev tools and help options along the way.
$ npm install -g ionic
To verify the installation, open a new terminal window and run:
$ node --version$ npm --version
This starter app will run best with node 14.x +
Node and NPM version are constantly updated so if you face any issue in setup, or warnings in
npm auditfeel free to contact us.
$ git --version
Cordova is the build environment for this starter. Install latest Cordova using (Cordova-res is required for editing icon and splash when building on devices)
$ npm install -g cordova
$ npm install -g cordova-res
After you have Ionic installed, you have to install all the dependencies required by the app. These dependencies are listed in
package.jsonfile in the root of the project. To do this just run the following command using a terminal inside your ionic app folder path.
// Move into your project directory
$ cd myApp
// Install dependencies
$ npm install
If you are using latest NPM, you might see an audit report after the installation is completed. If you see any vulnerability marked as
high, please contact us regarding the same.
Now we have everything installed, we can test our Ionic App.