cli icon indicating copy to clipboard operation
cli copied to clipboard

heroku CLI not updatable

Open raficfarah opened this issue 4 years ago • 6 comments

I`m new to heroku, so this question may be dumb.

Everytime I run a heroku command like "heroku --help" inside my virtual env. I receive the output: › Warning: heroku update available from 7.49.0 to 7.50.0.

Then I run heroku update and it goes: › Warning: update with: snap refresh heroku heroku: Updating CLI... not updatable Updating completions... done

And if I run "snap refresh heroku", the output is: snap "heroku" has no updates available

I haven't witnessed any problem because of that issue, but I'm worried of what could happen in the future if I can't update.

raficfarah avatar Mar 25 '21 04:03 raficfarah

is it solved? I seem to encounter the same problem but no answer yet

rulisastra avatar Aug 09 '21 10:08 rulisastra

I had a similar problem with npm, I had to just uninstall and reinstall, and then restart my console, eg npm uninstall -g heroku then npm install -g heroku and then restart the console. I am not sure if this will help you, but it did seem to be giving me a similar problem just doing npm update -g heroku, this was on Windows

the-simian avatar Aug 09 '21 22:08 the-simian

is it solved? I seem to encounter the same problem but no answer yet

I had to uninstall and reinstall heroku

raficfarah avatar Aug 09 '21 22:08 raficfarah

same problem here with a snap install. current version is '' 7.59.1". heroku update tells me it's not updatable, yet any heroku command starts by warning me that the version "7.59.2" is available. It seems that the resource used to tell what's the latest version is not the one used for update.

antoine-gallix avatar Feb 04 '22 17:02 antoine-gallix

is it solved? I seem to encounter the same problem but no answer yet

I had to uninstall and reinstall heroku

Same problem here. However, reinstalling it with snap didn't work.

GabrielLins64 avatar Jun 10 '22 23:06 GabrielLins64

It seems that, contrary to the apt install version, only the tarball install version can auto update on Linux, see https://devcenter.heroku.com/articles/heroku-cli#standalone-installation-with-a-tarball Hope it helps ?

tomparle avatar Jul 20 '22 12:07 tomparle

Snap installs are no longer supported. Please use another install method.

saracope avatar Oct 28 '22 14:10 saracope