83

After updating to 10.8 ‘Mountain Lion’ I’m wondering how I can rebuild everything I have installed through the packaging system Homebrew (similar to MacPorts) to ensure all dependencies are installed optimally for the new system. How can it easily be achieved? The help file offers no hints as to how I can accomplish this.

0

1 Answer 1

118

Use the command brew upgrade in the terminal to update all of the packages. As for rebuilding all of your programs for the new OS build, there is no reason to do this as the compiled binary should result as the same. If you are noticing any issues, I would just uninstall and reinstall the packages that you are having issues with.

4
  • 9
    Seems like brew cask upgrade is also needed to get apps updated. (I run into github.com/Homebrew/homebrew-cask/issues/… when I did - the workaround fixed it though) Jul 18, 2019 at 14:32
  • 24
    brew upgrade --cask is preferred now
    – Xorifelse
    Oct 12, 2020 at 21:35
  • 2
    @Xorifelse Why is --cask preferred?
    – aryanm
    Jun 7, 2021 at 23:56
  • 8
    @aryanm : Because brew cask upgrade doesn't work anymore (Error: Unknown command: cask).
    – mhellmeier
    Aug 26, 2021 at 16:38

Not the answer you're looking for? Browse other questions tagged .