Life is too short to have Homebrew problems. Run these commands to keep your brews bubbly.
Checks your system to make sure that future installs go smoothly:
Upgrades Homebrew to the latest version:
Gets a list of what packages are outdated:
Looks through your installed packages and deletes any old versions that may still be hanging around:
You could alternatively add the
--dry-run flag to
cleanup to see all the outdated packages that would be removed.
Deletes old symlinks:
Updates packages to the latest version:
You can add the
--cleanup flag to delete older versions of the packages you are updating.