Skip to content

Instantly share code, notes, and snippets.

@dashmug dashmug/update_toolset.sh
Last active Aug 29, 2015

Embed
What would you like to do?
a simple script I use for updating my Homebrew, composer, pip, npm, and gem packages
set -e
set -x
sudo aptitude update
sudo aptitude upgrade -y
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
do
sudo npm -g install "$package"
done
sudo composer self-update
gem update
pip freeze | 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
You can’t perform that action at this time.