Skip to content

Instantly share code, notes, and snippets.

@jdx
Last active August 29, 2015 14:07
Show Gist options
  • Save jdx/be1ee3ad6b62297df6ec to your computer and use it in GitHub Desktop.
Save jdx/be1ee3ad6b62297df6ec to your computer and use it in GitHub Desktop.
Uninstall Heroku

To uninstall the Heroku Toolbelt on OSX (non-Homebrew) or Standalone Linux install:

rm -rf /usr/local/heroku
rm -rf ~/.heroku

For Homebrew:

brew uninstall heroku
rm -rf ~/.heroku

For Debian/Ubuntu:

sudo apt-get remove heroku-toolbelt
sudo rm /etc/apt/sources.list.d/heroku.list

You may also want to remove the release key by running:

sudo apt-key list
sudo apt-key del KEYFROMABOVE

On Windows you can simply uninstall the Toolbelt from Programs and Features. You should also delete the _heroku directory inside your home directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment