heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 381 forks source link

Installing Heroku Toolbelt on Windows 10 #1994

Open nicefellow1234 opened 8 years ago

nicefellow1234 commented 8 years ago

I've been having some issues installing the Heroku toolbelt on Windows 10, 64-bit.

It's the first time I install Heroku. I downloaded it from https://toolbelt.heroku.com/windows.

After installing, I tried launching a new Git Bash and typing heroku login but what I got back was bash: heroku: command not found

Running the same command on Windows Powershell, what I got back was

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

Any suggestions? I thought that googling those lines would help, but I haven't found much.

I followed the recommendation from here, but now when typing heroku login on the Powershell, nothing happens. Nothing changes on the Git Bash.

I checked, and the Heroku folder was added to the PATH.

I thought I'd ask for some help before installing anything else.

Thank you!

jdx commented 8 years ago

Your PATH has something invalid in it that Ruby doesn't like. I'm not sure what but I've seen other users with this problem and that's what it was, but I've never reproduced it myself. On Tue, Aug 2, 2016 at 12:56 PM nicefellow1234 notifications@github.com wrote:

I've been having some issues installing the Heroku toolbelt on Windows 10, 64-bit.

It's the first time I install Heroku. I downloaded it from https://toolbelt.heroku.com/windows.

After installing, I tried launching a new Git Bash and typing heroku login but what I got back was bash: heroku: command not found

Running the same command on Windows Powershell, what I got back was

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

Any suggestions? I thought that googling those lines would help, but I haven't found much.

I followed the recommendation from here, but now when typing heroku login on the Powershell, nothing happens. Nothing changes on the Git Bash.

I checked, and the Heroku folder was added to the PATH.

I thought I'd ask for some help before installing anything else.

Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/heroku/heroku/issues/1994, or mute the thread https://github.com/notifications/unsubscribe-auth/AANMfHzFov1SPLfPLKuQBdj4aWTr3z3Mks5qb6D0gaJpZM4Ja_MJ .

ddouglasz commented 6 years ago

hi, i am currently facing the same problems too. please i don't know if the issue has been tackled by any chance because on google so far i still have not found any solutions. i would be glad to get a response. thank you so much in advance.

CodeZaru commented 6 years ago

Try taking a look at your System PATH Environment Variable (I use Windows 10), and if the Heroku PATH variable doesn't include the "bin" directory, just add it and reboot your machine.. So if you had C:\Program Files\Heroku\ as the path, edit it to be C:\Program Files\Heroku\bin\

I experienced the same issue, and this was how I fixed it. I generally use a standard (non-admin Windows account) for security purposes, but as you know you'll need to run the Windows Control Panel as administrator to change the system variable, If you navigate to where you installed Heroku, you might notice the heroku.exe application file is in the bin directory...