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

heroku update

did not work for me. I had to run:

sudo apt update && sudo apt install heroku

in order to get an update.


Uninstall Heroku by using command:

sudo apt-get remove Heroku

Then install Heroku by:

sudo apt-get install heroku

Now check Heroku version:

heroku -v

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

Tags:

Heroku

Updates