Can adding Git to the PATH manually fix the 'yarn error couldn't find the binary git'?

Question

Grade: Education Subject: Support
Can adding Git to the PATH manually fix the 'yarn error couldn't find the binary git'?
Asked by:
86 Viewed 86 Answers

Answer (86)

Best Answer
(284)
Yes, manually adding Git to your PATH can fix this error. You'll need to find the directory where the `git.exe` (on Windows) or `git` executable (on macOS/Linux) is located and add that directory to your system's PATH environment variable. The exact method varies by operating system.