Here
Installation
The Cordova command-line tool (CLI) is distributed as an npm package.
To install the cordova
CLI tool, follow these steps:
- Download and install Node.js. On installation you should be able to invoke
node
andnpm
on your line. - (Optional) Download and install a git client, if you don’t already have one. Following installation, you should be able to invoke the
git
command in your command promt (terminal). The Cordova cli and npm invokes the git command when download assets that were referenced with a git repo url. - Install the
cordova
module usingnpm
utility of Node.js. Thecordova
module will automatically be downloaded by thenpm
utility.
npm install -g cordova
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass