-
-
Save trilin6/457a716906e3851c9d90066a09c0c402 to your computer and use it in GitHub Desktop.
Health-check script for Homebrew.
This file contains hidden or 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 | |
| brew update | |
| brew upgrade | |
| brew cleanup -s | |
| brew cask cleanup | |
| #now diagnotic | |
| brew doctor | |
| brew missing | |
| apm upgrade -c false | |
| /opt/bin/updateCCTF.sh && terminal-notifier -message “git pull done :-)” -title “CCTF up to date” | |
| echo “you can hit mas upgrade to upgrade theses apps from the app store:” | |
| mas outdated | |
| echo “install with: mas upgrade” | |
| npm update -g | |
| echo “did you think to launch gem update “ | |
| echo “and pip ? pip freeze — local | grep -v ‘^\-e’ | cut -d = -f 1 | xargs pip install -U “ |
This file contains hidden or 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 | |
| echo "> brew upgrade --cleanup" | |
| brew upgrade --cleanup | |
| echo "> brew cleanup -s" | |
| brew cleanup -s | |
| echo "> brew prune -n" | |
| brew prune -n | |
| echo "> brew prune" | |
| brew prune | |
| echo "> brew bundle --global check" | |
| brew bundle --global check | |
| echo "> brew bundle --global cleanup" | |
| brew bundle --global cleanup | |
| echo "> brew doctor" | |
| brew doctor |
Comments are disabled for this gist.