Git installation is not recognized by Windows

Asked

Viewed 1,653 times

1

I’m not familiar with the Bower and installation of packages as well...
I went to install the Foundation Zurb, for email marketing installed correctly, but when I give the command foundation new to create a new project, it returns me the following message:

You need Git installed to get started. Download it here: http://git-scm.com/downloads

I have git installed on my machine, why does this happen?

1 answer

1


You probably didn’t set the PATH (path) properly install to Windows.
You can determine the installation path this way:

  • Right-click your mouse on "My Computer" (My Computer)

  • Select Properties (Properties)

  • Select Advanced (Advanced)

  • Click on Environment variables (Environment Variables)

  • Select the variable Path (Path)

  • Click edit (Edit)

  • Add the path to your Git in front of the variable value (Variable value) field and separate with a ; of the next record (Obs. do not add spaces between ; and the next value).

  • Please take a look if I do right https://i.imgur.com/ffV8e4D.png https://i.imgur.com/aupCn6r.png https://i.imgur.com/Nxmdsnc.png

  • 1

    No friend, you should put the path to git.exe that is, in the folder you put in Git you should go one more level down and put Git/bin which is the correct path to the executable

  • valeuu colleague , worked perfectly

Browser other questions tagged

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