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