Created
July 30, 2016 16:32
-
-
Save butaji/2dad3b19bf5d157b83277a52e550916b 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
rm -Rf /Applications/Android\ Studio.app | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm ~/Library/Preferences/com.google.android.studio.plist | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Logs/AndroidStudio* | |
rm -Rf ~/Library/Caches/AndroidStudio* | |
rm -Rf ~/AndroidStudioProjects | |
rm -Rf ~/.gradle | |
rm -Rf ~/.android | |
rm -Rf ~/Library/Android* | |
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
#!/bin/bash | |
# This is a simple script to uninstall Xamarin from your machine. | |
# Uninstall Xamarin Studio | |
rm -rf "/Applications/Xamarin Studio.app" | |
rm -rf ~/Library/Caches/XamarinStudio-* | |
rm -rf ~/Library/Logs/XamarinStudio-* | |
rm -rf ~/Library/Preferences/XamarinStudio-* | |
rm -rf ~/Library/XamarinStudio-* | |
# Uninstall Mono MDK | |
# You will also want to make sure that there are no other dependencies on Mono | |
sudo rm -rf /Library/Frameworks/Mono.framework | |
sudo pkgutil --forget com.xamarin.mono-MDK.pkg | |
# Uninstall Xamarin.Android | |
sudo rm -rf /Developer/MonoDroid | |
sudo rm -rf /Library/Frameworks/Xamarin.Android.framework | |
sudo pkgutil --forget com.xamarin.android.pkg | |
rm -rf ~/Library/MonoAndroid | |
# Uninstall Xamarin.iOS | |
rm -rf ~/Library/MonoTouch | |
sudo rm -rf /Library/Frameworks/Xamarin.iOS.framework | |
sudo rm -rf /Developer/MonoTouch | |
sudo pkgutil --forget com.xamarin.monotouch.pkg | |
sudo pkgutil --forget com.xamarin.xamarin-ios-build-host.pkg | |
## To Uninstall the Xamarin Build Host | |
sudo rm -rf "/Applications/Xamarin.iOS Build Host.app" | |
## To unload and remove the Xamarin Build Host launchd job | |
launchctl unload /Library/LaunchAgents/com.xamarin.mtvs.buildserver.plist | |
sudo rm -f /Library/LaunchAgents/com.xamarin.mtvs.buildserver.plist | |
# Uninstall Xamarin.Mac | |
sudo rm -rf /Library/Frameworks/Xamarin.Mac.framework | |
rm -rf ~/Library/Xamarin.Mac | |
# Uninstall Xamarin Installer | |
rm -rf ~/Library/Caches/XamarinInstaller/ | |
rm -rf ~/Library/Logs/XamarinInstaller/ | |
rm -rf ~/Library/Preferences/Xamarin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment