how to update heroku using terminal code example
Example 1: download heroku cli mac os catalina
$ brew tap heroku/brew && brew install heroku
Example 2: heroku cli
$ sudo snap install --classic heroku
Example 3: how to update heroku
heroku update
#(OR)
sudo apt update && sudo apt install heroku
# to update heroku