Bower: ENOGIT Git Is Not Installed or Not in the PATH

John Wachira Aug 04, 2022
Bower: ENOGIT Git Is Not Installed or Not in the PATH

This article illustrated the steps needed to solve the Bower: ENOGIT git is not installed or not in the PATH error. You will likely encounter this message when Bower cannot register Git’s installation path in your machine.

With that being said, let’s jump into the main topic.

Fix the Bower: ENOGIT git is not installed or not in the PATH Error

Ensure you have properly installed Git For Windows and keep the installation path in mind. Usually, you will find it at:

  1. C:\Program Files\Git
  2. C:\Program Files (x86)\Git

Git Installation Path

Follow these steps to register Git in your Windows environment variable ecosystem.

  1. Launch Windows Explorer, right-click on My Computer, and select Properties.

    Properties

  2. Select Advanced System Settings from the left plane.

    Advanced System Settings

  3. Switch to the Advanced tab and click Environment Variables located at the bottom of the tab.

    Environment Variables

  4. Navigate to System Variables, locate Path, and tap Edit to add Git.

    add Git path

  5. Now, we can add the reference of our Git CMD and Binary using:

    Windows 10:

    %PROGRAMFILES(x86)%\Git\bin
    %PROGRAMFILES(x86)%\Git\cmd
    

    edit environment variable

    Windows 7/8:

    ;%PROGRAMFILES(x86)%\Git\bin;%PROGRAMFILES(x86)%\Git\cmd
    
  6. We can now restart our CMD/PowerShell after the update.

In conclusion, the abovementioned steps will help you solve the Bower: ENOGIT Git is not Installed or not in the PATH error. Make sure you feed in the correct installation path to Git.

Author: John Wachira
John Wachira avatar John Wachira avatar

John is a Git and PowerShell geek. He uses his expertise in the version control system to help businesses manage their source code. According to him, Shell scripting is the number one choice for automating the management of systems.

LinkedIn

Related Article - Git Error