Keeping my brews up-to-date

Jan 19, 2015

Here’s how I ensure my homebrew packages are the latest and greatest! First I setup a crontab for my user:

~ $ crontab -e

I then add this line to update the brew database every hour:

0 * * * * /usr/local/bin/brew update > /dev/null 2>&1

and add the following line to my .bash_profile to display outdated packages when I open a new terminal:

brew outdated

Boom. Now I’ll know to brew upgrade whenever a new hotness is released.


Tags: