heroku terminal commands code example
Example 1: how to update heroku
heroku update
#(OR)
sudo apt update && sudo apt install heroku
# to update heroku
Example 2: add heroku to cli
$ brew tap heroku/brew && brew install heroku
heroku update
#(OR)
sudo apt update && sudo apt install heroku
# to update heroku
$ brew tap heroku/brew && brew install heroku