cli
cli copied to clipboard
heroku CLI not updatable
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.
is it solved? I seem to encounter the same problem but no answer yet
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
is it solved? I seem to encounter the same problem but no answer yet
I had to uninstall and reinstall heroku
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.
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.
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 ?
Snap installs are no longer supported. Please use another install method.