Created
December 21, 2018 23:08
-
-
Save florido/2133c28856c701df8f57455d64b92a77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run: curl -L https://gist.github.com/rebootd/df4bf929761b30212df49b222ba9c839/raw | sh | |
# remove brew apps | |
for entry in `brew cask list`; do | |
`brew cask uninstall $entry` | |
done | |
for entry in `brew list`; do | |
`brew uninstall $entry` | |
done | |
brew cask cleanup | |
brew cleanup | |
# remove homebrew | |
cd `brew --prefix` | |
rm -rf Cellar | |
brew prune | |
rm `git ls-files` | |
rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions | |
rm -rf .git | |
rm -rf ~/Library/Caches/Homebrew | |
# removing rvm | |
# manually remove lines from profile: | |
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM | |
rvm implode --force | |
rm -rf /usr/local/rvm | |
sudo rm /etc/profile.d/rvm.sh | |
sudo rm /etc/rvmrc | |
sudo rm ~/.rvmrc | |
# unisntall pip | |
sudo pip uninstall pip | |
# remove ssh keys | |
rm -rf ~/.ssh | |
# remove pip, etc settings | |
sudo -H pip uninstall -y haxor-news | |
rm ~/.gitconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment