Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMadhvi Maheshwari
7,788 PointsGit Windows: 'git is not recognized as an internal or external command'
When cloning Homestead for Laravel I a getting error 'git is not recognized as an internal or external command. operable program or batch file.' please help..Thanks
2 Answers
Łukasz Czuliński
8,646 PointsI was having the exact same problem. When you installed Git, did you select the option 'run Git from the Windows command prompt'?
If not, try re-installing and make sure you select that option. http://git-scm.com/download.
Once I did this everything worked fine in the terminal.
Chris Shaw
26,676 PointsHi Madhiv,
You will need to download GIT and install it, once it's installed you may need to restart your PC as sometimes the PATH
won't update in real time.
Madhvi Maheshwari
7,788 PointsI have already downloaded GIT but still its not working.
Chris Shaw
26,676 PointsIf you simply run git
in a command prompt what do you get? If you get an error by ensuring it's in your environment PATH
.
Madhvi Maheshwari
7,788 Pointsi have added C:\Users\dell\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7\libexec\git-core this path in the environment variable. but still its not working.
Abhishek Bhardwaj
3,316 Pointsthanks chris
Madhvi Maheshwari
7,788 PointsMadhvi Maheshwari
7,788 PointsThank you so much mate..