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

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.