download heroku cl code example
Example 1: install heroku mac
$ brew tap heroku/brew && brew install heroku
Example 2: install heroku cli on linux
sudo snap install --classic heroku
$ brew tap heroku/brew && brew install heroku
sudo snap install --classic heroku