mac how to install heroku cli code example
Example 1: install heroku mac
$ brew tap heroku/brew && brew install heroku
Example 2: how to install heroku cli
sudo apt-get install heroku
$ brew tap heroku/brew && brew install heroku
sudo apt-get install heroku