command prompt heroku code example
Example 1: heroku cli
$ sudo snap install --classic heroku
Example 2: heroku cli
$ brew tap heroku/brew && brew install heroku
$ sudo snap install --classic heroku
$ brew tap heroku/brew && brew install heroku