Heroku Toolbelt switch between multiple account
In 2017, Heroku released heroku-accounts, an add-on to the toolbelt that lets one quickly switch accounts from the command line. Install it like this:
heroku plugins:install heroku-accounts
Then add an account ("work" in this case):
heroku accounts:add work
At this point, you'll need to provide the credentials you want associated with the "work" alias. Do the same for other accounts you have. Then switch between aliases like this:
heroku accounts:set work
(Sorry to zombie this question.)
You can just run the login again from the command line:
heroku login
Enter your new email and password for the other account.