# Removing all Homebrew stuff

> How I removed every Homebrew package to free up space, using brew remove --force with brew list to wipe all formulae and casks, then reinstalled what I needed.

Author: Flavio Copes | Published: 2025-02-01 | Canonical: https://flaviocopes.com/removing-all-homebrew-stuff/

Stuff just accumulates over time.

I looked into the `/opt/Cellar` folder, which holds all the Homebrew packages, and it was 10GB.

So I found [this suggestion](https://apple.stackexchange.com/a/339096) and ran:

```text
brew remove --force $(brew list --formula)
```

and then

```text
brew remove --cask --force $(brew list)
```

to remove all commands and apps installed through Homebrew.

Then I reinstalled just the thing I needed.
