I installed heroku cli on windows 10 via exe installer.
When i try to run heroku --version
command or heroku login
command, the command window does not respond. It does not give any error.
Then i uninstalled it and installed it using npm install -g heroku-cli
but getting same result.
Node version - 8.7.0
In Windows cmd prompt, do:
Go to your C:\Users\YOURNAME
Look for a file named:
This file stores login credentials. Delete it.
Then check for an update:
Then try to log in:
I saw some people create an environment variable called HOME and add the path to YOURNAME so the environment knows to look for the
_netrc
file there.Other trouble-shooting ideas if the above doesn't work for you can be found at Heroku CLI troubleshooting
In windows , run %LOCALAPPDATA%\heroku, completely delete this folder. and check again on cmd by typing heroku --version. Hope this helps.