Paul Fawkesley

How to keep Heroku CLI logged in

I use the heroku command-line most days. It frequently logs out, giving this message:

▸ Invalid credentials provided.

Here’s how to keep the heroku CLI logged in for a year.

That’s it. Test it by running heroku whoami.

Notes:


Thoughts? Get in touch