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.