Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Run Background Updates on macOS

Running updates in the background is an essential feature for maintaining the security and performance of your macOS system without interrupting your workflow. While the concept of "Atualização em 2º Plano" (Background Update) is not directly labeled as such in macOS, the system does support automatic updates that can run without user intervention. This article will guide you through how to configure your macOS to perform updates in the background, ensuring your system remains up-to-date with minimal disruption.

Examples:

  1. Enabling Automatic Updates via System Preferences:

    • Open "System Preferences" from the Apple menu.
    • Click on "Software Update."
    • Check the box that says "Automatically keep my Mac up to date."
    • Click on the "Advanced..." button to customize the settings. Here, you can choose to:
      • Check for updates
      • Download new updates when available
      • Install macOS updates
      • Install app updates from the App Store
      • Install system data files and security updates
  2. Using Terminal to Enable Automatic Updates:

    • Open the Terminal application.
    • To enable automatic checking for updates, run:
      sudo softwareupdate --schedule on
    • To automatically download updates, run:
      sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -boolean TRUE
    • To automatically install macOS updates, run:
      sudo defaults write /Library/Preferences/com.apple.commerce AutoUpdateRestartRequired -bool TRUE
    • To automatically install app updates from the App Store, run:
      sudo defaults write /Library/Preferences/com.apple.commerce AutoUpdate -bool TRUE
  3. Using softwareupdate Command for Manual Updates:

    • To list all available updates, run:
      softwareupdate -l
    • To install all recommended updates, run:
      sudo softwareupdate -i -r
    • To install a specific update, run:
      sudo softwareupdate -i <update_name>

By following these steps, you can ensure that your macOS system remains updated with minimal user intervention, effectively running updates in the background.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.