Skip to content

Instantly share code, notes, and snippets.

@heruputra
Forked from mul14/upgrade-everything.sh
Created February 21, 2016 14:45
Show Gist options
  • Select an option

  • Save heruputra/5ae82543bd4f0eac93c1 to your computer and use it in GitHub Desktop.

Select an option

Save heruputra/5ae82543bd4f0eac93c1 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