Keeping your Mac clean can be a difficult task if you use Homebrew to install packages for development and testing purpose and without correctly installing the right packages, it may bloat your system, taking up unwanted storage space.

This one command will uninstall all the packages install through Homebrew.

brew remove --force $(brew list) --ignore-dependencies  

To remove unused archives run.

brew cleanup  

If you have any question, leave a comment.

View all posts by Darryl

Darryl is a visual development artist, currently studying Bachelors of Computer Animation at Full Sail University.He writes about, Look development. technical notes and how to get better in life.