GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
No description provided.
humbly suggest managing heroku CLI with homebrew
Will this work without reloading the shell?
In my testing it did.
Works in ZSH too.
Ooh, but I just realized I tested in bash, not zsh, so you might want to verify in zsh.
@michaelrkn Thanks for the pull request. Much appreciated.
Can you write a few words on the benefit of this approach? It seems like one downside is that Homebrew needs to be updated with each Heroku Toolbelt release and might fall behind:
Homebrew does have to be updated before updating the Heroku CLI, but that's also true of all the other programs Laptop installs with Homebrew. I like to manage everything through Homebrew if possible, so that I can update everything in one place. (It's also one reason (among others) I'm starting to switch to rbenv over rvm.)
@croaky I'm not sure what point you're trying to make with the formula updating semi-regularly; if upgrading was crucial, the toolbelt would hopefully print out a warning and it's definitely easier to remember (and type) brew upgrade heroku-toolbelt than digging through the laptop script (or going to heroku's site) to figure out how to upgrade (do I have to uninstall? can I just re-run curl -s https://toolbelt.heroku.com/install.sh | sh?).
brew upgrade heroku-toolbelt
curl -s https://toolbelt.heroku.com/install.sh | sh
I like the uninstall/upgrade point, which is sort of like a subset of the "stick to a single package manager on your operating system" point.
@michaelrkn Thanks. Merged as 2b6ed80.
Manage Heroku CLI with Homebrew