I often run brew update followed by brew upgrade.
Can I do that in one step?
Yes, by putting the following line in your ~/.bash_profile file:
alias brewu='brew update && brew upgrade --lock'
brewu can be replaced by whatever alias you want to use.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 months ago