#check brew status, reinstall packages and update
brew doctor
brew reinstall $(brew list)
brew update