1

I'm trying to follow this guide and install Heroku CLI on my Mac. https://devcenter.heroku.com/articles/heroku-cli#download-and-install

When I typed

brew tap heroku/brew && brew install heroku

The terminal returns

bash: brew: command not found

What should I do here?

3 Answers 3

5

are u already install brew on your system? if not try read this :

https://brew.sh/

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)

paste that in a macOS Terminal or Linux shell prompt.

after install brew, try again install heroku cli

https://devcenter.heroku.com/articles/heroku-cli

0
4

just use brew install heroku/brew/heroku

1

After installing brew as suggested by Lussac, you need to enter a password. It is the password that you use to log into your computer.

You won't see anything when you type your password for security purposes. Just press enter!

2
  • This answer was really unnecessary. It's not even an answer, and should have been a comment
    – BlizZard
    Commented May 5, 2021 at 4:28
  • 2
    It might be unnecessary for you but might help others - be it an answer or comment!
    – Juju
    Commented May 6, 2021 at 5:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.