Install Cordova

You must have installed Node.js before proceeding with the steps on this page.

To install Cordova, perform the following steps:

  1. Open Terminal.
  2. At the command prompt, enter the following command:

    $ sudo npm install –g cordova



    Cordova gets installed.

  3. To check the version of Cordova installed, enter the following command:

    $ cordova –version


    The installed version of Cordova is displayed.



  4. Continue with the Install JDK section.