install heroku cli npm code example
Example 1: install heroku cli on linux
sudo snap install --classic heroku
Example 2: how to install heroku cli
sudo apt-get install heroku
Example 3: download heroku cli
$ brew tap heroku/brew && brew install heroku