How to Install Nodejs on Linux Mint

Step 1 – Prerequsities

First, use the following commands to install NPM and Node.js on your system. In below commands, the first command will install some required packages on the system. The second command will add PPA for node.js to your system.

Step 2 – Install Cordova

Now use the following command to install Cordova on your system using npm command. It will install all other required node modules on your system.

Step 3 – Install Ionic on Linux Mint

Ionic provides and commands line utility for creating packages, build and start applications. Use NPM command to install the Ionic framework on your system. After completing the installation of the Ionic framework, use the following command to check the installed version.

Step 4 – Create Sample Application with Ionic

Now, You can create a new sample Ionic application on your system using the following command. Now use one of the following commands to enable iOS or Android platform. iOS platform will work on MacOS only. For more details visit http://ionicframework.com/docs/guide/installation.html