...
- Open Terminal.
At the command prompt, enter the following command:
Code Block language bash $ sudo npm install –g cordova
Cordova gets installed.To check the version of Cordova installed, enter the following command:
Code Block language bash $ cordova –version
The installed version of Cordova is displayed.- Continue with the Install JDK section.
...