I am having some low level issues with IntelliJ on my mac, I really want to just zero everything out and start over. But even after removing the application and re-installing it, IntelliJ still remembers things like what the last project was, what licensing key to use etc. Where is this information stored? And what is the best way to clear it out?
-
1Good question. I wonder if it would be a better fit on Super User (as it's not really a programming q) though. On the other hand, SO surely is full of IDE settings questions... – Jonik May 05 '10 at 15:27
7 Answers
Normally information like this will be found in one of the following places in OS X:
/Users/username/Library/Preferences/AppName
/Users/username/Library/Preferences/com.appname.plist
/Users/username/Library/Application Support/AppName
/Library/Preferences/AppName
/Library/Preferences/com.appname.plist
/Library/Application Support/AppName
If the app adheres to the standard OS X conventions you weill find info in one or all of these places. If it doesnt store here you might check for a /Users/username/.intellij
folder or something similar in your home directory

- 60,050
- 10
- 100
- 114
-
2Perfect! The data was stored across: /Users/username/Library/Preferences/AppName /Users/username/Library/Preferences/com.appname.plist – kalak451 May 05 '10 at 15:09
-
1BTW, this also happens in Windows, one thing is the installation and other the personal configuration. – OscarRyz May 05 '10 at 15:21
-
3There is more stuff, like /Library/Caches You can run find / -iname *intellij* 2>/dev/null to find all Intellij related files. – Wojciech Bednarski Nov 21 '11 at 01:51
-
3
-
-
@WojciechBednarski I think you wanted asterisks (shell wildcards) around 'intellij' in the find command, but StackOverflow's wiki markup interpreted them as italicizing intellij instead. I can't figure out a way to escape them in comments though, so it is probably not too helpful of me to point it out. – Dave Cameron Dec 15 '12 at 15:27
I just ran through this and here is the list of files that I had to delete for IntelliJ 13:
~/Library/Preferences/com.jetbrains.intellij.plist
~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
~/Library/Preferences/IntelliJIdea13
~/Library/Caches/IntelliJIdea13
~/Library/Application Support/IntelliJIdea13
~/Library/Caches/com.jetbrains.intellij
~/Library/Logs/IntelliJIdea13
~/Library/Saved Application State/com.jetbrains.intellij.savedState

- 13,974
- 3
- 45
- 74
-
I also had this path for IntelliJ 11.1.2: `~/Library/Caches/com.jetbrains.intellij` – Dave Cameron Jul 06 '12 at 19:58
-
1oh, and two more under ~: `~/Library/Logs/IntelliJIdea11, ~/Library/Saved Application State/com.jetbrains.intellij.savedState` – Dave Cameron Jul 06 '12 at 20:08
-
-
This list looks like it worked for removing IntelliJ 13 EAP. Of course, each directory is now IntelliJIdea13. – David V Dec 03 '13 at 16:31
-
Super helpful! I actually found out that I had a lot of IntelliJ 12 settings and some EAP stuff which was making IntelliJ unstable. – haysclark Nov 29 '14 at 01:49
For AppCode (Objective C IDE) 1.0.4, on OSX, the path is: ~/Library/Preferences/appCode10

- 290
- 3
- 6
I just checked, and IntelliJ IDEA (at least 9.x versions) seems to store its global settings in
~/Library/Preferences/IntelliJIdea90CE/
Update: IntelliJ IDEA 10 uses ~Library/Preferences/IntelliJIdea10/
and 12 ~Library/Preferences/IntelliJIdea12/
. You'll probably find it for whatever version you're on.
(Where ~ is your home directory.)
Best way to clear it? Well, just delete the whole directory. :-) Or, if you suspect there might be something useful there after all, move it to a new name.

- 80,077
- 70
- 264
- 372
run the following commands in terminal to remove completely. worked for me
rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist
rm -Rf ~/Library/Preferences/com.jetbrains.intellij.plist.lockfile
rm -Rf ~/Library/Caches/com.jetbrains.intellij*
rm -Rf ~/Library/Logs/IntelliJIdea13
rm -Rf ~/Library/Saved Application State/com.jetbrains.intellij.savedState
rm -Rf /Applications/IntelliJ*
rm -Rf ~/Library/Preferences/IntelliJ*
rm -Rf ~/Library/Preferences/com.google.intellij.*
rm -Rf ~/Library/Preferences/com.intellij.*
rm -Rf ~/Library/Application\ Support/IntelliJ*
rm -Rf ~/Library/Logs/IntelliJ*
rm -Rf ~/Library/Caches/IntelliJ*
rm -Rf ~/.IntelliJ*
rm -Rf ~/Library/Intellij*

- 4,774
- 3
- 25
- 37
For those with newer versions like 2016, here's a guide to tell you all the places where IntelliJ can be at:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519

- 1,502
- 13
- 27
This always does it for me:
find ~/Library -type d -name 'IdeaIC*' -exec rm -rf {} ';'

- 1,635
- 1
- 18
- 11