heroku apt-get install code example
Example 1: download heroku ubuntu
$ sudo snap install --classic heroku
Example 2: install heroku cli on linux
sudo snap install --classic heroku
$ sudo snap install --classic heroku
sudo snap install --classic heroku