PhoneGap “git” command line tool is not installed

I’m using Phonegap 3.0 and the Command Line Interface as per the phonegap website install instructions.
I have created an app just fine on iOS:

npm install -g phonegap

  • Issue w. AWSDevTools was not loaded (git aws.push)
  • git aws.push: 'aws.push' is not a git command
  • Git error on git pull (unable to update local ref)
  • Is there a “more” command that can be used in the Git shell in windows?
  • Git commit in terminal opens VIM, but can't get back to terminal
  • Brew cannot find git, even though git in path (Mac/OSX)
  • phonegap create Test -n Test (creates an app named “Test” and located in “Test” folder)

    phonegap build ios
    then…

    phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
    Which responds with this error:

    Error fetching plugin: Error: "git" command line tool is not installed: make sure it is accessible on your PATH.

    Now, I have tried installing the “git” command line tool, but I’m not exactly sure if I’m installing it right, or if I was even downloading the right thing, or how to align the PATH to be accessible.

    Any advice here? Has anyone dealt with or seen this? Thank you very much

  • Getting started with GitHub and Eclipse (spring source toolsuite 2.7.1)
  • bash: check if a particular git repository has github as remote repo?
  • Installation of python libraries on OS X
  • Jitterbit project + Git + Continuous integration
  • How do Git SVN ignore-paths work (ignoring daily build tags)?
  • Git HEAD referring to branch vs to commit
  • 3 Solutions collect form web for “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 android
    Preparing android project org.apache.cordova.camera installed on android.
    

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

    Just download the git CLI tool for Mac:

    http://git-scm.com/download/mac

    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.

    Git Baby is a git and github fan, let's start git clone.