brew autoupdate --help

From wikieduonline
Revision as of 05:12, 3 November 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

Usage: brew autoupdate subcommand [interval] [options]

An easy, convenient way to automatically update Homebrew.

This script will run brew update in the background once every 24 hours (by
default) until explicitly told to stop, utilising launchd.

brew autoupdate start [interval] [options]:
    Start autoupdating either once every interval hours or once every 24
hours. Please note the interval has to be passed in seconds, so 12 hours would
be brew autoupdate start 43200. Pass --upgrade or --cleanup to
automatically run brew upgrade and/or brew cleanup respectively. Pass
--enable-notification to send a notification when the autoupdate process has
finished successfully.

brew autoupdate stop:
    Stop autoupdating, but retain plist & logs.

brew autoupdate delete:
    Cancel the autoupdate, delete the plist and logs.

brew autoupdate status:
    Prints the current status of this tool.

brew autoupdate version:
    Output this tool's current version, and a short changelog.

      --upgrade                    Automatically upgrade your installed
                                   formulae. If the Caskroom exists locally
                                   Casks will be upgraded as well. Must be
                                   passed with start.
      --greedy                     Upgrade casks with --greedy (include
                                   auto-updating casks). Must be passed with
                                   start.
      --cleanup                    Automatically clean brew's cache and logs.
                                   Must be passed with start.
      --enable-notification        Send a notification when the autoupdate
                                   process has finished successfully, if
                                   terminal-notifier is installed & found.
                                   Must be passed with start. NOTE:
                                   Notifications are enabled by default on macOS
                                   Catalina and newer.
      --immediate                  Starts the autoupdate command immediately,
                                   instead of waiting for one interval (24 hours
                                   by default) to pass first. Must be passed
                                   with start.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -v, --verbose                    Make some output more verbose.
  -h, --help                       Show this message.


brew: update | upgrade | autoupdate | install | uninstall | services | list, cask | cleanup | doctor | test | link | unlink | changelog | tap | info | search | install --cask | analytics off | --prefix | --version | brew --help ]

Advertising: