I recently upgraded my Mac from 10.13 to 10.14 and I can't seem to find my Homebrew. /usr/local is practically empty; just MySQL remains. Does brew get removed after an OS upgrade? Should I install it from scratch? What about the packages I installed using homebrew on the older version?

  • It shouldn't, and it never happened to me. Mar 11, 2019 at 21:20
  • First time for me too. All my Homebrew packages have vanished and I don't have a clue how/why. I had installed Mongo and MySQL using brew. They're gone too. Absolutely no traces left. Mar 12, 2019 at 7:18

1 Answer 1


You should run brew update and see what happens. If Homebrew refuses to run, reinstall it using the command at https://brew.sh.

You should then run brew upgrade to make sure you're running the latest packages. If brew list shows no packages, then it looks like you'll have to re-install these packages.

  • Tried. "brew update" threw a "command not found" error. I've reinstalled Homebrew and ended up reinstalling some other packages. What I'm not able to understand is how/why brew got removed on an OS upgrade when all my other installations and files are fine... :( Mar 12, 2019 at 6:17
  • @PrateekDewan I do not know specifically why, but some parts of the system are reset by the system update
    – Ezekiel
    Mar 26, 2019 at 15:15
  • running "brew update" just now seemingly uninstalled/deleted it from my system (macOS 10.13.6) which i haven't upgraded in a while. just completely vanished after a few lines of output, nothing indicating that it'd be nuking itself. guess i'll re-install from scratch.
    – Dominick
    Apr 16, 2020 at 19:51

You must log in to answer this question.

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