Heroku run shows update, is it necessary to update ? And if yes than how?

Pardeep picture Pardeep · Sep 5, 2017 · Viewed 9.1k times · Source
heroku run rails console

▸    heroku-cli: update available from 6.11.17 to 6.14.16-9ae58fc

▸    No app specified

How do I update my heroku-cli version?

Answer

Gabriel Mesquita picture Gabriel Mesquita · Sep 5, 2017

You are not obligated to update. I am using a previous version as well, and everything works fine.

But if you want to update check this link: https://devcenter.heroku.com/articles/heroku-cli

It says that to update your heroku cli you just have to do this:

heroku update

But there is this issue:

Not all methods of installation are updatable with heroku update. Apt users will have to use sudo apt-get update && sudo apt-get upgrade heroku. npm/yarn users will have to update with npm upgrade -g heroku-cli or yarn global upgrade heroku-cli

If updating does not update the CLI, try uninstalling with the uninstall instructions below