0

Git' is not recognized as an internal or external command

After opening laragon terminal when s use git command there its saying
git' is not recognized as an internal or external command.
How do i solve this error?

Git Bash Git Error-handling Add a comment
jacob
asked Nov 04 2021

Answer

0

You need to set path correctly in your system environment
You need to add the following paths to PATH:
C:\Program Files\Git\bin\
C:\Program Files\Git\cmd\
You can do this By following way:

  1. In the Start Menu "environment variable".
  2. Select "system environment variables".
  3. Click the "Environment Variables" button.
  4. Double-click the "Path" entry under "System variables".
    With the "New" button in the PATH editor, add
    C:\Program Files\Git\bin\ and C:\Program Files\Git\cmd\ to the end of the list.
    Close and re-open your console.
Add a comment
linuxhelp
asked Nov 04 2021
Post your Answer