Remove heroku toolbelt on OS X
Asked Answered
M

1

10

I've encountered some problems with a heroku plugin (heroku accounts) and would like to uninstall/reinstall the Heroku Toolbelt all together, but cannot find any instructions on how to do this.

Microgroove answered 10/10, 2014 at 13:34 Comment(1)
The official install/uninstall guide can be found at here.Gloss
M
18

Reading this issue in their repository, it doesn't seem to be any official way. Here's an alternative solution:

rm -rf ~/.heroku
sudo rm -rf /usr/local/heroku /usr/bin/heroku
Microgroove answered 10/10, 2014 at 13:45 Comment(2)
Will this also remove it from the $PATH? The heroku toolbelt site says (regarding the packaged installer): The heroku command line client will be installed into /usr/local/heroku and /usr/local/heroku/bin will be added to your PATH. I inspected the $PATH, and it wasn't there, but I'm unsure if the packaged installer added some code somewhere which will add that to the $PATH in some cases..Promycelium
The indicated routine also fails remove files like /usr/bin/foreman, which were presumably installed by heroku toolbelt. What else might be left lying around? Is there an install manifest that might be used to know with confidence what the installer changed?Kriss

© 2022 - 2024 — McMap. All rights reserved.