heroku login with cli code example
Example 1: heroku cli login
heroku login --interactive
OR
heroku login -i
Example 2: download heroku
$ brew tap heroku/brew && brew install heroku
heroku login --interactive
OR
heroku login -i
$ brew tap heroku/brew && brew install heroku