Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms’ native development language. Apache Cordova command-line requires Node.js to run and available on NPM.
Install NPM & Node.js
First use the following commands to install npm and nodejs on your system. In below commands first command will installed some required packages on system. Second command will add ppa for node.js to your system. After that update your all attached ppa and last command will install nodejs and npm on your system.
$ sudo apt-get install python-software-properties python g++ make $ sudo add-apt-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs
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.
$ sudo npm install -g cordova
Check Cordova Version
After successful installation of Cordova on your system, Use the following command to check Cordova version.
$ cordova --version 5.4.1
Thanks for Visit Here
Comments
Post a Comment