Last active
July 15, 2018 13:24
-
-
Save evanemolo/4483268 to your computer and use it in GitHub Desktop.
Update all packages
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/zsh | |
# Rubygems | |
sudo gem update | |
sudo gem update --system | |
gem cleanup | |
# Node Package Manager | |
sudo npm update -g | |
sudo npm update npm -g | |
sudo npm cache clean | |
# Homebrew | |
brew update | |
brew upgrade | |
brew cleanup | |
# Pip | |
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs pip install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment