3

With brew I have downloaded and installed Heroku CLI.

But when I open a Terminal and type heruko, I get this response:

% heruko
zsh: command not found: heruko'

I followed the instructions on devcenter.heroku.com

macOS:

$ brew tap heroku/brew && brew install heroku

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

Apperently the install has been succesful, because when I try to run it again I get the message:

Warning: heroku/brew/heroku 7.42.4 is already installed and up-to-date
To reinstall 7.42.4, run `brew reinstall heroku`

Should some path variable be added to the .zshrc file? I already have some path variables to other stuff in my .zshrc file, this is how it looks now:

export JAVA_HOME=$(/usr/libexec/java_home)
export PATH="$PATH:/Users/a/Documents/downloaded-tools/flutter/bin"
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"

Shall there be added an entry about Heroku CLI, there? If so, exactly what should be added?

I am running a Mac Book Pro 2019 16" - Catalina

Rune Hansen
  • 954
  • 3
  • 16
  • 36

0 Answers0