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