Skip to content

Instantly share code, notes, and snippets.

@mul14
Created February 21, 2016 13:19
Show Gist options
  • Select an option

  • Save mul14/07094b6f959c8d3b9522 to your computer and use it in GitHub Desktop.

Select an option

Save mul14/07094b6f959c8d3b9522 to your computer and use it in GitHub Desktop.
Upgrade Everything
#!/usr/bin/env sh
sh $HOME/.oh-my-zsh/tools/upgrade.sh
pip3 install --upgrade pip
pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U
pip2 install --upgrade pip
pip2 freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip2 install -U
composer self-update
composer global update
npm -g update
gem update
brew update; brew upgrade; brew cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment