I cannot get Heroku to work in Gitbash on windows 10.
Gitbash version = 1.9.4.msysgit.2
Error Messages:
$ heroku version
/c/Program Files (x86)/heroku/bin/../client/bin/heroku.cmd:
line 1: @echo: command not found
/c/Program Files (x86)/heroku/bin/../client/bin/heroku.cmd:
line 2: setlocal: command not found
/c/Program Files (x86)/heroku/bin/../client/bin/heroku.cmd:
line 4: syntax error near unexpected token `('
/c/Program Files (x86)/heroku/bin/../client/bin/heroku.cmd:
line 4: `if not "%HEROKU_REDIRECTED%"=="1" if exist "%LOCALAPPDATA%\heroku\client\bin\heroku.cmd" ('
Any help is much appreciated!
Thank you,
Boba Fett
My Windows Environment Variables
The Error Messages in Gitbash
I was receiving the same error after I corrected the Path variable. What worked for me was installing a standalone version via bash. Uninstall the version of heroku that you have and then, in your shell, run the command curl https://cli-assets.heroku.com/install.sh | sh
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With