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 10.x +
Node and NPM version are constantly updated so if you face any issue in setup, or warnings in
npm audit feel free to contact us.
Git is a distributed version-control system for tracking changes in source code during software development. Although it's not required, we highly recommend using Git for your app development.
$ git --version
You can also use Git CLI to perform all Git related tasks. A good description of all Git CLI commands is given here.
After you have Ionic installed, you have to install all the dependencies required by the app. These dependencies are listed in
package.json file 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.
Go to Running the App section to see how to do it.