How to update Heroku?
Asked Answered
N

1

22

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

»   Warning: heroku update available from 7.47.7 to 7.52.0.
Nodab answered 10/5, 2021 at 10:3 Comment(1)
devcenter.heroku.com/articles/heroku-cli Uninstall Heroku CLI and reinstall. It's also just a warning and an update is not required.Geese
S
43

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.

Sternwheeler answered 10/5, 2021 at 10:29 Comment(1)
For Windows Powershell, heroku update works.Mv

© 2022 - 2024 — McMap. All rights reserved.