how to update heroku cli to latest code example
Example 1: how to install heroku cli
sudo apt-get install heroku
Example 2: how to update heroku terminal
$ brew tap heroku/brew && brew install heroku
sudo apt-get install heroku
$ brew tap heroku/brew && brew install heroku