Heroku CLI hangs on Windows 10

I encountered the same problem when I run $ heroku login on GitBash for Windows.

I tried the accepted answer above but to no avail. What solved it was just to use Windows Command Prompt instead of GitBash and all problems were solved.

I'm just adding this answer here in case someone has done the same thing like I did.


Using GitCMD instead of GitBash solved the problem for me.


I had the same issue and i followed these steps to fix it.

  1. Go to heroku AppData directory. (windows run %LOCALAPPDATA%\heroku)
  2. You should see 2 files named as autoupdate and a directory named as update.lock.
  3. Delete these 2 files and the directory.
  4. Open a new cmd window.
  5. Try running the heroku cmd again. Now it should work for you.

I use following version

  • heroku-cli/6.14.36 , (windows-x64) , node-v8.9.0.

Relevant github issue thread