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:
C:\Program Files\Git
C:\Program Files (x86)\Git
Follow these steps to register Git in your Windows environment variable ecosystem.
-
Launch Windows Explorer, right-click on
My Computer
, and selectProperties
.
-
Select
Advanced System Settings
from the left plane. -
Switch to the
Advanced
tab and clickEnvironment Variables
located at the bottom of the tab. -
Navigate to
System Variables
, locatePath
, and tapEdit
to add Git. -
Now, we can add the reference of our Git CMD and Binary using:
Windows 10:
%PROGRAMFILES(x86)%\Git\bin %PROGRAMFILES(x86)%\Git\cmd
Windows 7/8:
;%PROGRAMFILES(x86)%\Git\bin;%PROGRAMFILES(x86)%\Git\cmd
-
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.
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.
LinkedInRelated Article - Git Error
- How to Fix: Git Is Not Recognized as an Internal or External Command Error
- How to Resolve Git Status Unmerged Paths
- How to Fix Another Git Process Seems to Be Running in This Repository Error
- How to Fix Fatal: Origin Does Not Appear to Be a Git Repository Error in Git
- How to Fix Fatal: The Current Branch Master Has No Upstream Branch Error in Git