Skip to content

Instantly share code, notes, and snippets.

@stephanschubert
Created July 22, 2015 16:38
Show Gist options
  • Save stephanschubert/8cd2a49f70e440a4cdcd to your computer and use it in GitHub Desktop.
Save stephanschubert/8cd2a49f70e440a4cdcd to your computer and use it in GitHub Desktop.
Re-install everything brew'd.
#!/bin/bash
for i in `brew list -1`
do
if [[ "$i" == python.* ]] || [[ "$i" == ruby.* ]]
then
continue
fi
brew rm --force $i && brew install $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment