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

JavaScript Express Basics (2015) Getting Started with Express Install Express.js

Gabriel Ward
Gabriel Ward
20,222 Points

Git cloning problems

I went to do the cloning into my project folder on my desktop, and I got the following error in my command line

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

I'm working on a Windows PC. Does anyone have any advice on this? I'd be grateful for any help.

2 Answers

Tobias Helmrich
Tobias Helmrich
31,603 Points

Hey there Gabriel,

you have to install git first to use the git command. You can download the latest version of git here.

I hope that helps! :)

Gabriel Ward
Gabriel Ward
20,222 Points

Ahh ok, great thanks

Andy Forscutt
PLUS
Andy Forscutt
Courses Plus Student 10,799 Points

I too was getting "'git' is not recognized as an internal or external command, operable program or batch file."

On windows 10, I had to restart my computer after installing Git, in order for it to work in the windows command prompt.

Hope that helps others with the same problem!