I found myself with this problem:


The recommended solution was to uninstall and then reinstall Homebrew, so that's what I did... but I didn't do a "brew list" before to check which packages I had installed. Oops.

I do have a Time Machine backup of my Mac, so I thought I'd plug in the drive and then, using the Terminal, navigate to the backup volume and then to whatever directory/file Homebrew uses to keep its database of installed packages.

Which directory should it be?

  • Which macOS do you have?
    – Udhy
    Commented Nov 18, 2019 at 16:01
  • I'm on 10.14.6.
    – PaulJ
    Commented Nov 18, 2019 at 16:04

1 Answer 1


If I understood correctly, here is the list of the folder HomeBrew creates while installing it on your machine.

enter image description here

Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

And when you do brew list, it shows the tool that you get from it under Cellar Folder. So you can check all this folder to get rid of it properly.

For example, if I install wget as "brew install wget" then when I run brew list, it shows me as

enter image description here

You must log in to answer this question.

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