Created
November 5, 2021 01:26
-
-
Save valter-silva-au/95df71cbf21c090d9fbfdf85dfb6e302 to your computer and use it in GitHub Desktop.
Brew Update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Helps keeping your homebrew packages up-to-date | |
# If you have any issues with 'permission denied' to cleanup old packages | |
# https://stackoverflow.com/a/59608792/523168 | |
# sudo chown -R $(whoami) /usr/local/Cellar/ | |
echo "=== brew update ===" | |
brew update | |
echo "=== brew upgrade ===" | |
brew upgrade | |
echo "=== brew cleanup ===" | |
brew cleanup -s | |
# now diagnotic | |
echo "=== brew doctor ===" | |
brew doctor | |
echo "=== brew missing ===" | |
brew missing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment