How do I update a formula?
I ran brew update
. Then, running brew outdated
, outputs:
mongodb (1.4.3-x86_64 < 1.6.5-x86_64)
Thus, mongodb
is outdated.
How do I upgrade it? Do I just uninstall and then install?
I think the correct way to do is
brew upgrade mongodb
It will upgrade the mongodb formula. If you want to upgrade all outdated formula, simply
brew upgrade