Set up the development environment
Learn how to set up your local environment to develop Ionic apps like a professional and also learn how to install Ionic Full Starter App.
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.
Before proceeding, make sure the latest version of Node.js and npm are installed. See Environment Setup for details. Install the Ionic CLI globally with npm:
$ npm install -g ionic
Almost all tooling for modern JavaScript projects is based in Node.js. The download page has prebuilt installation packages for all platforms. We recommend selecting the LTS version to ensure best compatibility.
To verify the installation, open a new terminal window and run:
$ node --version
$ npm --version
Although it's not required, the version control system Git is highly recommended. First, install the command-line utility from the download page. For a GUI client, we recommend Github Desktop.
To verify the installation, open a new terminal window and run:
$ git --version
After you have Ionic installed, you have to install all the dependencies required by the app. To do this just run the following command using a terminal inside your ionic app folder path.
$ cd myApp
$ npm install
Now we have everything installed, we can test our Ionic App.
Last modified 1yr ago