How to install Ionic and Cordova in Centos
Ionic is an HTML5 mobile app development framework targeted at building hybrid mobile apps. Since Ionic is an HTML5 framework, it needs a native wrapper like Cordova or PhoneGap in order to run as a native app. We strongly recommend using Cordova proper for your apps, and the Ionic tools will use Cordova underneath.
This article explains the steps to install Ionic an Cordova Centos server.
Step1: Add nodejs repocitory.
#curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash -
Step2: Install nodejs.
#yum install nodejs
Step2: Install Cordova.
#npm install -g cordova
Step3: Install Ionic.
#npm install -g ionic