How to update Heroku?

Viewed 5234

how do I update my Heroku , my windows terminal shows the following :

»   Warning: heroku update available from 7.47.7 to 7.52.0.

please help

1 Answers

You have to run

heroku update

in the terminal to update the CLI.

If that doesn't work, this means you have the CLI app as an npm or an apt package, in that case you have to run apt installation:

sudo apt-get update && sudo apt-get upgrade heroku

npm:

npm upgrade -g heroku

yarn:

yarn global upgrade heroku

Refer to the article here for more information.

Related