Skip to content

Instantly share code, notes, and snippets.

@rakauchuk
Created November 13, 2014 18:57
Show Gist options
  • Save rakauchuk/bf0f3903ff7e3f70e544 to your computer and use it in GitHub Desktop.
Save rakauchuk/bf0f3903ff7e3f70e544 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in `brew list -1`
do
if [[ "$i" == python.* ]] || [[ "$i" == ruby.* ]]
then
continue
fi
brew rm $i && brew install $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment