Initial Setup
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.
Last updated
Was this helpful?
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.
Last updated
Was this helpful?
Ionic apps are created and developed primarily through the Ionic 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.
Before proceeding, make sure the latest version of and are installed. See for details. Install the Ionic CLI globally with npm:
Almost all tooling for modern JavaScript projects is based in . The has prebuilt installation packages for all platforms. We recommend selecting the LTS version to ensure best compatibility.
Node is bundled with , the package manager for JavaScript.
To verify the installation, open a new terminal window and run:
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.
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.
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.
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.
First, install the command-line utility from the . For a GUI client, we recommend . To verify the installation, open a new terminal window and run:
You can also use Git CLI to perform all Git related tasks. A good description of all Git CLI commands is given .
Personally we use , however, many people like . You are free to choose any code editor you like.
Remember to enter your own GOOGLE API KEY in the source code in the place of YOUR_API_KEY. Without this api key, many functionalities might not work, especially maps. Check the for more info
Go to section to see how to do it.