Skip to content

Instantly share code, notes, and snippets.

@evanemolo
Last active July 15, 2018 13:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanemolo/4483268 to your computer and use it in GitHub Desktop.
Save evanemolo/4483268 to your computer and use it in GitHub Desktop.
Update all packages
#!/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