Three simple practices to help write clean code and improve the readability of a codebase.
Follow these steps to install Cordova:
- Install Node.js. Cordova runs on the Node.js platform, which needs to be installed as the first step. Download installer from: http://nodejs.org
- Go ahead an run the downloaded installation file. It is recommended to use the default settings. Node.js needs to be added to the PATH environment variable, which is done by default.
- To test the installation, open a command window (make sure you open a new command window to get the updated path settings made by the Node.js installation), and type:
- Install Git. Git is a version control system, which is used by Cordova behind-the-scenes. Download and install from: http://git-scm.com. Default settings are recommended.
- Install Cordova. Cordova is installed using the Node Package Manager (npm). Type the following in the command window to install:
npm install -g cordova
- Test the Cordova install by typing:
If you see the version number, you have successfully installed Apache Cordova!