Skip to content

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 and ran:

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

and then

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

to remove all commands and apps installed through Homebrew.

Then I reinstalled just the thing I needed.


I wrote 21 books to help you become a better developer:

  • HTML Handbook
  • Next.js Pages Router Handbook
  • Alpine.js Handbook
  • HTMX Handbook
  • TypeScript Handbook
  • React Handbook
  • SQL Handbook
  • Git Cheat Sheet
  • Laravel Handbook
  • Express Handbook
  • Swift Handbook
  • Go Handbook
  • PHP Handbook
  • Python Handbook
  • Linux Commands Handbook
  • C Handbook
  • JavaScript Handbook
  • Svelte Handbook
  • CSS Handbook
  • Node.js Handbook
  • Vue Handbook
...download them all now!

Related posts that talk about mac: