Mac Terminal trick: How to list your apps

HowToListApps

Every week we'll bring you a how-to guide to do something quick and cool with Mac OS X. Sometimes it will be a tutorial on a lesser-known feature, other times it'll be a trick that uses built-in functionality such as Terminal, but either way, these simple tips can make life better and easier, and they don't require any special knowledge. All you need to do is follow the instructions!

Sometimes it's handy to have a list of all the apps installed on your Mac. For instance, if you need to cleanly reinstall OS X, and then add your apps and data back afterward to make the Mac run faster, it's easier to have a list than to rely on your memory. In this article, we'll show you how to easily make a list of the apps that are installed on your Mac for backup purposes.

To begin, we'll open the Terminal (located in /Applications/Utilities), and then type the following command (all on one line):

find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print |\sed 's#.app/Contents/_MASReceipt/receipt#.app#g; s#/Applications/##'

This command will find and list all of the files matching the name ending in ".app" on your Mac that have been downloaded from the Mac App Store.

Mac Terminal Tip - List Your Apps

Type the line of code shown here to automatically generate a list of your apps.

If you wish to save this list to a text file for printing or other purposes, then type the following command (all on one line) instead:

find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print |\sed 's#.app/Contents/_MASReceipt/receipt#.app#g; s#/Applications/##' > /Desktop/apps.txt

This command will create a file called "apps.txt" on your Desktop listing all the apps on your Mac that have been purchased from the Mac App Store, allowing you to use it for any purpose you may have.

TOPICS
Latest in Macs
Mac Studio on a desk
Apple Mac Studio (M3 Ultra): the ultimate creative workstation
Mac Studio from above.
New benchmark suggests Apple's M3 Ultra may not be much faster than the M4 Max - only a minor uplift in multi-core performance
Apple Mac Mini on wood desk
Forget President’s Day sales, Apple is selling an M2 Mac mini refurb for just over $300 which could be the PC bargain of the year
Sergii Figurnyi
Apple's M5 chip is rumored to be in mass production - but we're still waiting for M4 MacBook Airs
A hand holding up the new Mac mini M4
Apple's M4 Mac mini might be one of the best Macs ever, but it has a serious issue that needs fixing right now
Mac mini vs. iMac
Mac mini M4 vs iMac M4: Which is the one for you?
Latest in How Tos
Cheltenham racing festival 2024 day four: Paul Townend on Galopin Des Champs crosses the finishing line for victory in the Gold Cup
Cheltenham Festival 2025 live stream: How to watch world-class horse racing online
Vinicius Junior of Real Madrid in action during the UEFA Champions League in March 2025
Atletico Madrid vs Real Madrid live stream: How to watch Champions League online
Arsenal manager Mikel Arteta attending a press conference before a UEFA Champions League Round of 16 first leg match in March 2025
Arsenal vs PSV live stream: How to watch the UEFA Champions League match online
Ousmane Dembele of Paris Saint-Germain watches the ball during a UEFA Champions League 2024/25 match in March 2025
Liverpool vs PSG live stream: How to watch today's UEFA Champions League match online, team news
Still from the sneak peek trailer of Ring & Friends showing the ex-beatles singer on stage at the Ryman
Ringo & Friends at The Ryman: how to watch the country music show online
Lewis Hamilton of Great Britain and Scuderia Ferrari waves to the crowd from the stage during F1 75 Live in the run up to the 2025 F1 season
How to watch F1 online: your guide to 2025 Formula 1 season