How do I go about listing all of the installed packages and versions on mac os x?
Asked Answered
C

3

3

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

Collywobbles answered 25/3, 2010 at 19:14 Comment(0)
I
1

Not exactly a unix command but:

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

There's an option to only list software (as there is an option to ouput xml) (read the manpage for the precise syntax). If you're using macports you could just run port installed.

Illeetvilaine answered 25/3, 2010 at 19:24 Comment(0)
S
5

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

Sweeps answered 19/11, 2013 at 7:46 Comment(0)
I
1

Not exactly a unix command but:

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

There's an option to only list software (as there is an option to ouput xml) (read the manpage for the precise syntax). If you're using macports you could just run port installed.

Illeetvilaine answered 25/3, 2010 at 19:24 Comment(0)
M
0

You can use command for get installed apps list

Json and xml output is available.

system_profiler SPApplicationsDataType -xml

system_profiler SPApplicationsDataType -json
Miltonmilty answered 21/9, 2021 at 17:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.