brew info mongodb//查看信息
mongod --config /usr/local/etc/mongod.conf //启动db
升级brew的版本库
brew update
查看outdated的库和应用
brew outdated
升级outdated的库和应用
brew upgrade
清理调过期的库和应用
brew cleanup
brew info mongodb//查看信息
mongod --config /usr/local/etc/mongod.conf //启动db
brew update
brew outdated
brew upgrade
brew cleanup