21

How do I update my Heroku, my Windows terminal shows the following:

»   Warning: heroku update available from 7.47.7 to 7.52.0.
Tomerikoo
  • 18,379
  • 16
  • 47
  • 61
Alcatraz b312
  • 239
  • 2
  • 4
  • https://devcenter.heroku.com/articles/heroku-cli Uninstall Heroku CLI and reinstall. It's also just a warning and an update is not required. – Tin Nguyen May 10 '21 at 10:11

1 Answers1

38

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.

Ceres
  • 2,498
  • 1
  • 10
  • 28