To Install, ensure that you have NodeJS installed, then open your command line and run the following:
C:\> npm install -g phonegap
Once installation completes, you can invoke phonegap
on command line for further help.
$ phonegap create my-app
$ cd my-app
$ phonegap run android
$ phonegap -v
$ npm info phonegap version
$ npm update -g phonegap