Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an official way provided by Apple or a workaround so that I can install or update Mac App Store apps through Terminal?

share|improve this question

there is a commandline app called softwareupdate that you have to run as root.

sudo softwareupdate --list for example will give you the list of apps that are set to update. You can then run sudo softwareupdate --install {app-name}

This won't let you install a new application that you haven't already downloaded though.

share|improve this answer
This tool does not update Mac App Store apps on any OS from 10.7 through 10.9.2 - only system software updates are available from the command line. – bmike Nov 28 '12 at 17:42

No. You can package an already downloaded application and distribute it internally using many tools (Casper Suite, sftp, rsync, etc...) and side load these apps. You do need to use the GUI to get the first copy of the application, however. So, if you already have the app, you can file share it over, but you can't get the App updated or installed solely from the terminal.

At present, the command line can only list software updates that come through the App Store the same as the previous Software Update server was used to download system updates and updates to apps that came on physical media. Terminal is not able to update apps that were bought electronically through the Mac App Store.

share|improve this answer

You can use this command softwareupdate with -a and -i as root.

So just type sudo softwareupdate -i -a in terminal.

These are some wonderful steps to make you shell powerful:

  1. Use echo "alias update='sudo softwareupdate -i -a" >> .aliases to registe a aliase to update quickly.

  2. Use exec $SHELL -l to reload your shell.

  3. Use update and type your password of root to update Mac App Store apps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.