Problems with Power

Asked

Viewed 43 times

0

After I installed Bower and I try to give Bower info angular it gives ENOGIT git is not installed or not in the PATH. I use git bash. How do I fix this?

  • 1

    Puts the path to GIT in the PATH.

  • 1

    It looks like you’re out of the git folder trying to give some command.

1 answer

2


Git must be added to the Windows Path.

To work, the Git path must be in "C: Program Files (x86) Git", if different, you need to change the last step to the path you are on.

1 - Right-click on "My Computer", then go to "Properties".
2 - Click on "Advanced System Settings" in the left corner of the screen.
3 - Click on "System Variables"
4 - Below the system variables, there is a path of a variable, you must click edit on it add the Git pwd in the END of this variable path:

;%PROGRAMFILES(x86)% Git bin;%PROGRAMFILES(x86)% Git cmd
(If Git is in another path, change the start)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.