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 trial

PHP Laravel 4 Basics Getting Started with Laravel Installing Laravel Homestead

Matthew Smart
Matthew Smart
12,567 Points

LARAVEL 'git' is not recognized as an internal or external command

when typing in to my command prompt (windows) git clone https://github.com/laravel/homestead.git Homestead i get :

'git' is not recognized as an internal or external command,operable program or batch file.

Why is this happening, the video tutorial is only showing how to do it on a linux system and not windows :(

1 Answer

git is not installed on windows by default. You will need to install it. You can get an easy installer from http://msysgit.github.io/ Once that is installed, close your command prompt and reopen it and git command should now work. If it doesn't you can try using the msysGit shell that comes with the installer.