How can I list all installed packages and versions on mac os x?

I want to list all the applications and versions installed on my mac. Things like perl, php, etc., And not what you see in the Applications directory ... Is there a unix command for this?

+2
source share
2 answers

Not really a unix command, but:

system_profiler -detailLevel full > myreport.txt may be a good start.

It is only possible to list the software (as there is an option for xml output) (read the man page for the exact syntax). If you use macports, you can just run port installed.

+1
source

pkgutil - packages or cat / Library / Receipts / InstallHistory.plist

+4

All Articles