cli icon indicating copy to clipboard operation
cli copied to clipboard

Error: Git must be installed to use the Heroku CLI

Open ghost opened this issue 4 years ago • 5 comments

This project is for the Heroku CLI only. Use https://help.heroku.com for anything that is not specific to the CLI itself.

Do you want to request a feature or report a bug?

If bug, first try running heroku update and setting DEBUG=* to see extra debug information.

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Please mention your heroku and OS version. Please state if you are behind an HTTP proxy or company firewall as well. Heroku Version: 7.42.6 Windows 7 no firewall or proxy

ghost avatar Aug 18 '20 04:08 ghost

See https://devcenter.heroku.com/articles/heroku-cli#download-and-install for more info

Screen Shot 2020-09-06 at 10 46 51 AM

moshiba avatar Sep 06 '20 02:09 moshiba

Heroku is a complete disaster. This is 2022, not 1990. Windows10. Installed Heroku CLI. Installed Git. Heroku says "Git must be installed..." Is this a joke? Salseforce should get its act together.

boswellp avatar May 12 '22 21:05 boswellp

Heroku is a complete disaster. This is 2022, not 1990. Windows10. Installed Heroku CLI. Installed Git. Heroku says "Git must be installed..." Is this a joke? Salseforce should get its act together.

I fixed it by using GIT CMD instead

kfprice avatar Jun 10 '22 17:06 kfprice

Heroku is a complete disaster. This is 2022, not 1990. Windows10. Installed Heroku CLI. Installed Git. Heroku says "Git must be installed..." Is this a joke? Salseforce should get its act together.

I fixed it by using GIT CMD instead

What do you mean?

ang3lo-azevedo avatar Dec 23 '22 00:12 ang3lo-azevedo

C:\Users\Ang3lo>heroku git:clone -a disco-infinito C:\Users\Ang3lo\AppData\Roaming\npm\node_modules\heroku\node_modules@oclif\errors\lib\index.js:29 throw err; ^

CLIError: Git must be installed to use the Heroku CLI. See instructions here: https://git-scm.com at Object.error (C:\Users\Ang3lo\AppData\Roaming\npm\node_modules\heroku\node_modules@oclif\errors\lib\index.js:22:17) at ChildProcess. (C:\Users\Ang3lo\AppData\Roaming\npm\node_modules\heroku\node_modules@heroku-cli\plugin-git\lib\git.js:31:38) at ChildProcess.emit (node:events:513:28) at ChildProcess._handle.onexit (node:internal/child_process:289:12) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { oclif: { exit: 2 }, code: undefined }

Node.js v18.12.1

ang3lo-azevedo avatar Dec 23 '22 00:12 ang3lo-azevedo