Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Build a Simple Ruby on Rails Application Deploying Setting Up Heroku

Ryan Bent
Ryan Bent
6,433 Points

Problems with Heroku command

When I use git bash or windows cmd prompt. heroku is not working

Have you already installed the heroku toolbelt on your machine?

Heroku toolbelt will install into C:\Program Files\Heroku and will be added to your %PATH%.

Inside git shell/cmd, what does heroku login return after you have confirmed the toolbelt installation?

Ryan Bent
Ryan Bent
6,433 Points

it said command not found. I went ahead and restarted my computer and that fixed the problem.

Thank you

No problem. Sometimes the restart is all you need.

Jorge Diaz
Jorge Diaz
777 Points

This answer helped me. https://teamtreehouse.com/forum/heroku-install-issue

Basically close and open a new cmd prompt window.