How to get a list of the installed app on my Mac? [duplicate]
Solution 1:
system_profiler
To list all the applications on a Mac, use the system_profiler
command:
system_profiler SPApplicationsDataType
This will output the command in human readable format:
Power Manager:
Version: 4.6.1
Obtained from: Identified Developer
Last Modified: 20/01/2018, 6:42 pm
Kind: Intel
64-Bit (Intel): Yes
Signed by: Developer ID Application: Dragon Systems Software Limited, Developer ID Certification Authority, Apple Root CA
Location: /Applications/Power Manager.app
This will include every application on the Mac, including many that are hidden within folders.
XML Formatted List
Add the -xml
option to the command for a format that can be parsed and analysed by other tools:
system_profiler -xml SPApplicationsDataType
This will output a Property List (XML), such as:
...
<dict>
<key>_name</key>
<string>Safari</string>
<key>has64BitIntelCode</key>
<string>yes</string>
<key>info</key>
<string>11.0.3, Copyright © 2003-2017 Apple Inc.</string>
<key>lastModified</key>
<date>2018-01-31T08:33:08Z</date>
<key>obtained_from</key>
<string>apple</string>
<key>path</key>
<string>/Applications/Safari.app</string>
<key>runtime_environment</key>
<string>arch_x86</string>
<key>signed_by</key>
<array>
<string>Software Signing</string>
<string>Apple Code Signing Certification Authority</string>
<string>Apple Root CA</string>
</array>
<key>version</key>
<string>11.0.3</string>
</dict>
...