Mas Updates And Installs Mac App Store Apps From The Command Line

Mas Updates And Installs Mac App Store Apps From The Command Line

Mac: In order to manually update any apps you download from the Mac App Store, you have to open the app, click the download tab, wait for it to update, then click the update all button. Mas is a little command line interface that lets you do all that from your favourite Terminal app.

In order to install Mas, you’ll first need to install Homebrew, then type in brew install mas to install it. Once that’s done, you have a few simple commands to wrangle in all your Mac App Store updates:

  • mas list gives you a list of all the apps installed.
  • mas outdated shows all apps with pending updates.
  • mas upgrade updates all the apps.
  • mas search app name searches for an app in the App Store. You’ll want to make a note of the application identifier number if you want to install it.
  • mas install application number installs that app.

It’s a little harder to imagine using the Mas to actually shop for apps, but if you know what you’re looking for or just want to update your apps, it works great.

This will not handle the macOS System Updates that also appear in the Mac App Store, but you can run softwareupdate -l to get a list of those and sudo softwareupdate -iva to update them.

Mas [GitHub via How-To Geek]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments