How to Update Heroku Command (heroku-cli) to the Latest Version
I’ll introduce how to update the Heroku command (heroku-cli) to the latest version.
Every time you run a Heroku command, a message like heroku-cli: update available from CurrentVersion to LatestVersion appears.
heroku version
▸ heroku-cli: update available from 6.12.6 to 6.14.13-6ab5022
heroku-cli/6.12.6 (darwin-x64) node-v8.1.3
It’s annoying, so let’s update it immediately.
If you installed the Heroku command with Homebrew on MacOS, use the following:
brew update
brew upgrade heroku
If the heroku-cli: update available message no longer appears, the Heroku command update is complete.
heroku version
heroku-cli/6.14.13 (darwin-x64) node-v8.4.0
That’s all from the Gemba.