I recently had an issue where all of my linked binaries were removed from /usr/local/bin/
. Fortunately, most of these were just dynamic links to binaries installed with Homebrew, so after reinstalling Homebrew I need to get them back. Is there a way to force reinstall all installed packages and binaries with Homebrew? Maybe piping the output of brew list
into brew reinstall
?
It's as simple as that:
$ brew list | xargs brew reinstall
You don't need to uninstall anything, because doing so you may lose your settings and configs.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments