Requirements

We will start by going to the official Node.js website and download the corresponding binary to our operating system. Git should be installed as well.

To verify the installation, open a new command line window and run:

$ node --version
$ npm --version
$ git --version

Install Ionic CLI:

$ npm install -g @ionic/cli

Once installation is finished, go to the app folder and install the app dependencies:

Nearme-x.x.x/app:$ npm install

Run app:

Nearme-x.x.x/app:$ ionic serve

Within a few seconds the app should be up and running in your web browser.

For more details the official Ionic guide has all the necessary documentation.