I'm just starting with phonegap and I need to install CLI. But I'm confused as to which of the following two I should install (or both):
npm install -g phonegap
According to main page of phonegap.com
npm install -g cordova
According to docs of phonegap
You should use phonegap (npm install -g phonegap
) if you want to use phonegap build service i.e build.phonegap.com.
If you want to use SDKs installed in your local environment(Local PC) to build hybrid apps you should be using the cordova option. i.e npm install -g cordova