mas
Command-line interface for the Mac App Store. tldr-pages
On macOS
macOS
Sign into the Mac App Store for the first time
mas signin "user@example.com"IdentifyShow all installed applications and their product identifiers
mas listIdentifySearch for an application, displaying the price alongside the results
mas search "application" --priceIdentifyInstall or update an application using exact numeric id
mas install numeric_product_idIdentifyInstall the first application that would be returned by the respective search
mas lucky "search_term"IdentifyList all outdated apps with pending updates
mas outdatedIdentifyInstall all pending updates
mas upgradeIdentifyUpgrade a specific application
mas upgrade "numeric_product_id"Identify