Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Heroku?

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

like image 724
Alcatraz b312 Avatar asked May 10 '21 10:05

Alcatraz b312


People also ask

How do you check if heroku CLI is installed?

Open Command Prompt by right-clicking the Start Menu, choose Run, enter cmd and click OK. Now type heroku and press enter. If you receive a help message, heroku-cli was installed successfully.

Is heroku free forever?

Free Services on Heroku Heroku offers a free plan to help you learn and get started on the platform. Heroku Buttons and Buildpacks are free, and many Heroku Add-ons also offer a free plan.


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.

like image 56
Ceres Avatar answered Oct 28 '22 09:10

Ceres