Ionic depends on Node.js, therefore we will start by going to the official Node.js website and download the corresponding binary to our operating system. Also we need to install Git in order to install app dependencies.
Having installed Node.js, we proceed to install Ionic with the following command:
mycomputer@NearmeApp:~$ npm install -g ionic
Once installation is finished, using the command line terminal, navigate to the folder where the source code of the mobile app is located and execute the following:
Install app dependencies:
mycomputer@NearmeApp:~$ npm install
Run app:
mycomputer@NearmeApp:~$ ionic serve
Wait a few seconds and you should see the application running in your web browser.
If you want to view more details the official Ionic guide has all the necessary information.