Last active
August 20, 2016 15:17
-
-
Save zabbarob/c05f29ed1fa72ec3d7f4e604669bc008 to your computer and use it in GitHub Desktop.
Update packages of various package managers on OS X
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
#!/usr/bin/env bash | |
# Updates packages of various package managers on macOS | |
function myprintf() { | |
printf "\e[0;35m$1\e[0;m\n" | |
} | |
myprintf "Updating Homebrew Packages" | |
brew update | |
brew upgrade | |
myprintf "Updating Python Setup Tools" | |
brew linkapps python | |
pip install --upgrade pip setuptools | |
myprintf "Updating Ruby Gems" | |
gem update --system | |
gem update | |
myprintf "Updating Global Node Packages" | |
npm install -g npm@latest | |
npm update -g | |
myprintf "Updating Global Composer Packages" | |
composer global update | |
myprintf "Updating Atom Packages" | |
apm update --no-confirm | |
myprintf "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment