Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I determine which packages I have installed via homebrew and which were installed manually?

Tags:

macos

homebrew

I have a number of packages installed on my mac. Is there a terminal command that will allow me to determine which packages were installed via Homebrew?

For instance, I have R and git on my mac, but I know that neither R nor git were installed via Homebrew. Is there any other way to figure out which other packages were / weren't installed via Homebrew?

like image 218
BigRon Avatar asked Oct 29 '25 06:10

BigRon


1 Answers

If you only want what you actually installed, and not also the (possibly hundreds of) dependencies that came with it: brew leaves.

That list is much nicer for re-installing things.

like image 146
primfaktor Avatar answered Nov 01 '25 08:11

primfaktor