Autoupgrade the software installed with brew

If you use brew as package manager on macOS, it is interesting to autoupdate the software installed with this tool.

The autoupdate subcommand does this job. To automatically run brew update every 24 hours, you can use this command:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
brew autoupdate start
brew autoupdate start
brew autoupdate start

If you use the --upgrade  parameter, you are going to automatically run brew upgrade, too.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
brew autoupdate start --upgrade
brew autoupdate start --upgrade
brew autoupdate start --upgrade

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.