LoginSignup
25
23

More than 5 years have passed since last update.

ターミナルからmacOSのソフトウェア・アップデートを行う方法

Posted at

ソフトウェアをアップデートする場合、ほとんどの人はApp Storeを使っているはずである。同じことをどうしてもCLIで行いたい人は、Terminalから以下のコマンドを実行すればよい。

アップデートの確認(--listもしくは-lを使う):

$ sudo softwareupdate --list   

この時、再起動が必要なアップデートには [restart] と記載されているはずである。

特定アプリのアップデートをインストールする場合(--installもしくは-iを使う):

$ sudo softwareupdate --install iTunesX-12.5

更新可能な全てのアップデートをインストールする場合(--allもしくは-aを使う):

$ sudo softwareupdate --install --all
25
23
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
25
23