I am trying to install phonegap 3.1 version using node.js, Command line interface.
Phonegap got installed on the machine, but I am not able to use phonegap command.
One reason may be you are running window command prompt instead of node.js command prompt. you can simply press window button and then search node.js,it will show you node.js command prompt, run it and then type phonegap command there to check whether the phone gap is properly installed or not.
if you see something like this
Usage: phonegap [options] [commands] Description: PhoneGap command-line tool. Commands: help [command] output usage information create create a phonegap project ...
that means phonegap has installed successfully.. you can now execute any phonegap command