Skip to content

Instantly share code, notes, and snippets.

@bogdosarov
Forked from denji/README.md
Created December 26, 2015 18:46
Show Gist options
  • Save bogdosarov/d17635c97039074311c2 to your computer and use it in GitHub Desktop.
Save bogdosarov/d17635c97039074311c2 to your computer and use it in GitHub Desktop.
Remove WebStorm; PhpStorm; PyCharm; RubyMine; AppCode; CLion, IntelliJ; 0xDBE10 settings and cli-links from Mac OSX

Quick uninstall JetBrains settings:

curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
#!/usr/bin/env bash
set -x
# Clear Application Saved States JetBrains
rm -rfv ~/Library/Saved\ Application\ State/com.jetbrains.*
# PhpStorm
rm -fv /usr/local/bin/pstorm
rm -rfv ~/Library/Preferences/WebIde{??,???}
rm -rfv ~/Library/Caches/WebIde{??,???}
rm -rfv ~/Library/Application\ Support/WebIde{??,???}
rm -rfv ~/Library/Logs/WebIde{??,???}
# WebStorm
rm -fv /usr/local/bin/wstorm
rm -rfv ~/Library/Preferences/WebStorm{?,??}
rm -rfv ~/Library/Caches/WebStorm{?,??}
rm -rfv ~/Library/Application\ Support/WebStorm{?,??}
rm -rfv ~/Library/Logs/WebStorm{?,??}
# PyCharm
rm -fv /usr/local/bin/charm
rm -rfv ~/Library/Preferences/PyCharm{??,???}
rm -rfv ~/Library/Caches/PyCharm{??,???}
rm -rfv ~/Library/Application\ Support/PyCharm{??,???}
rm -rfv ~/Library/Logs/PyCharm{??,???}
# PyCharm Educational Edition
rm -rfv ~/Library/Preferences/PyCharmEdu{??,???}
rm -rfv ~/Library/Caches/PyCharmEdu{??,???}
rm -rfv ~/Library/Application\ Support/PyCharmEdu{??,???}
rm -rfv ~/Library/Logs/PyCharmEdu{??,???}
# RubyMine
rm -fv /usr/local/bin/mine
rm -rfv ~/Library/Preferences/RubyMine{??,???}
rm -rfv ~/Library/Caches/RubyMine{??,???}
rm -rfv ~/Library/Application\ Support/RubyMine{??,???}
rm -rfv ~/Library/Logs/RubyMine{??,???}
# AppCode
rm -rfv ~/Library/Preferences/appCode{??,???}
rm -rfv ~/Library/Caches/appCode{??,???}
rm -rfv ~/Library/Application\ Support/appCode{??,???}
rm -rfv ~/Library/Logs/appCode{??,???}
# IntelliJ IDEA
rm -rfv ~/Library/Preferences/IntelliJIdea{??,???}
rm -rfv ~/Library/Caches/IntelliJIdea{??,???}
rm -rfv ~/Library/Application\ Support/IntelliJIdea{??,???}
rm -rfv ~/Library/Logs/IntelliJIdea{??,???}
# IntelliJ IDEA Community Edition
rm -rfv ~/Library/Preferences/IdeaIC{??,???}
rm -rfv ~/Library/Caches/IdeaIC{??,???}
rm -rfv ~/Library/Application\ Support/IdeaIC{??,???}
rm -rfv ~/Library/Logs/IdeaIC{??,???}
# CLion
rm -rfv ~/Library/Preferences/clion{??,???}
rm -rfv ~/Library/Caches/clion{??,???}
rm -rfv ~/Library/Application\ Support/clion{??,???}
rm -rfv ~/Library/Logs/clion{??,???}
# 0xDBE10
rm -rfv ~/Library/Preferences/0xDBE{??,???}
rm -rfv ~/Library/Caches/0xDBE{??,???}
rm -rfv ~/Library/Application\ Support/0xDBE{??,???}
rm -rfv ~/Library/Logs/0xDBE{??,???}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment