PhoneGap "git" command line tool is not installed PhoneGap "git" command line tool is not installed git git

PhoneGap "git" command line tool is not installed


Hi "git" is also a node module. Simplest way want i found is.

npm install -g git 

This will install git in you node source location as a module.

Restart the machine.

Install phonegap plugin:

C:\Users\user1\yourprojectname>cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git

You will get response as:

Fetching plugin from "https://git-wip-us.apache.org/repos/asf/cordova-plugin-cam            era.git"...Starting installation of "org.apache.cordova.camera" for androidPreparing android project org.apache.cordova.camera installed on android.

Hope this will be very helpful. If any issue reply.


Download and install git from http://git-scm.com/downloads . Set path in System Environment variable pointing to the installation path, in my case C:\Program Files (x86)\Git\bin.

So go to control panel-> system ->Advance System Settings -> Environment Variable -> System Variable

Select Path and Edit it. Append C:\Program Files (x86)\Git\bin to it.

It will work for sure.