brew upgrade --interactive? #3786
Replies: 3 comments 2 replies
-
There is no way to do this natively with outdated=$(brew outdated); [[ -n "$outdated" ]] && fzf --multi <<< $outdated | xargs brew upgrade to do what you're looking for. |
Beta Was this translation helpful? Give feedback.
-
Thank you @carlocab This seems like the easiest path forward. I'm wondering if the HB maintainers are open to development on this front or might there be a reason why this has not yet been implemented? I'm not suggesting the maintainers develop it, simply if they'd be open to it. |
Beta Was this translation helpful? Give feedback.
-
Oh I've been using buo's tap for a few years now :) As the upgrade of casks has improved over the years, I'm looking to do this natively in brew. While I didn't think it was an existing feature, I had thought to pipe the command to a script, but your earlier suggestion makes things easier. I'll either continue using buo's tap or use fzf. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I understand 'brew upgrade --interactive' has a very specific meaning that targets only formulae. What I'd like to know is if there is a similar brew option to interactively choose which outdated formulae or casks get upgraded?
Presumably I can pipe 'brew outdated' into an interactive shell script to enable this type of functionality, but hoping there's a way natively within brew.
I searched for a bit before opening this up so my apologies if I didn't find a current conversation on this.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions