Installing Cordova on Windows and Linux

Cordova logo


Once the git client and node are ready, cordova can be installed.

To install Cordova

  • After getting an Internet connection on Windows, use npm install -g cordova command

installing cordova on windows

Notice that the title of the command prompt changes from C:\WINDOWS\system32\cmd.exe to npm which is done by node.js node package manager (npm) utility.

In case, you’re not Net-connected. The below error will show up.

installing cordova without internet connection

  • On Ubuntu use sudo npm install -g cordova

The terminal will prompt for the root’s password. The system takes care of the rest of the installation after successfull root authentication.

You can check the version of Cordova after it is installed:

Cordova installed on Ubuntu

Done with Cordova setup.