Knowledge Base/Installation and Licensing

Directories used by the IDE to store settings, caches, plugins and logs

Serge Baranov
posted this on March 13, 2013 01:48

Location of the IDE files depends on the operating system, product and version.

Should you need to change the defaults, refer to this document.

 

Windows

All the files are located under this directory by default:

  • Windows Vista, 7, 8:
<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>
  • Windows XP:
<SYSTEM DRIVE>\Documents and Settings\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>

Sample paths for different products

  • IntelliJ IDEA 12 Ultimate Edition:
c:\Users\John\.IntelliJIdea12\
  • IntelliJ IDEA 12 Community Edition:
c:\Users\John\.IdeaIC12\
  • WebStorm 6 and PhpStorm 6 (note that the same directory is used):
c:\Users\John\.WebIde60\
  • RubyMine 5:
c:\Users\John\.RubyMine50\
  • PyCharm 2.7:
c:\Users\John\.PyCharm20\

 

Sub-directories

Under this directory you'll find the following sub-directories

  • config: configuration (idea.config.path)
  • config\plugins: plugins (idea.plugins.path)
  • system: caches, local history, etc (idea.system.path)
  • system\log: logs and thread dumps (idea.log.path)
You can find more details about what is stored in each folder in the Project and IDE Settings documentation section.


Linux and other Unix sytems

Product directory starting with dot can be found in your user home directory, the pattern is:

 ~/.<PRODUCT><VERSION>

~ is an alias for the home directory, for example /home/john.

 

Mac OS X

  • Configuration:
~/Library/Preferences/<PRODUCT><VERSION>
  • Caches:
~/Library/Caches/<PRODUCT><VERSION>
  • Plugins:
~/Library/Application Support/<PRODUCT><VERSION>
  • Logs:
~/Library/Logs/<PRODUCT><VERSION>


PRODUCT would be one of the following:

  • IntelliJIdea (IntelliJ IDEA Ultimate Edition)
  • IdeaIC (IntelliJ IDEA Community Edition)
  • RubyMine
  • WebIde (WebStrom and PhpStorm use this common directory)
  • PyCharm
 

Comments

User photo
Pascal

Today I use the latest version of PhpStorm (7.0  .WebIde70)
and I have old big directories .WebIde50,.WebIde60. .
Can I safely delete these two directories.

January 01, 2014 12:57
User photo
Serge Baranov
JetBrains

Pascal, yes, you can remove these folders if you don't plan to run the old IDE versions.

January 01, 2014 23:19
User photo
Debakkerbjorn

What if the .<PRODUCT><VERSION> directory doesn't exist? I get an error at startup (created a ticket in YouTrack), but I can't find that directory.  Intellij crashes at startup, just right after the splash screen.

February 05, 2014 19:39
User photo
Serge Baranov
JetBrains

Debakkerbjorn, try to override the default values with the path where you have full write permissions.

February 05, 2014 20:06
User photo
Barclay Dunn

I use Intellij 11.1.5 and I can't find these directories either. Is this information still current for version 11? This is very frustrating. I get an error at startup but cannot find logs, preferences in these locations.

February 11, 2014 20:38
User photo
Barclay Dunn

Just to add, I am using Mac OS Mavericks and I don't find a single one of the directories you claim above that I should find. 

February 11, 2014 20:40
User photo
Serge Baranov
JetBrains

Barclay Dunn, yes, this information is actual for IntelliJ IDEA 11.1.5. Make sure to look under your home directory. Finder may hide these directories by default, show hidden files via cmd+shift+. (dot) can help to find them. Note that ~ stands for /Users/<user>.

February 11, 2014 20:45
User photo
Barclay Dunn

Aw crap, I totally overlooked the ~. The files are there as you say.

February 11, 2014 21:05
User photo
Maximilian Berger

Due to this Bug in the JDK on Windows System.getProperty("user.home") is NOT always:

<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>

Instead the JDK uses the parent folder of the "Desktop" folder from a registry key.

 

See: http://bugs.java.com/view_bug.do?bug_id=4787931

February 28, 2014 19:47
User photo
Serge Baranov
JetBrains

Maximilian, indeed, this issue is mentioned in our KB with a link to the same bug.

February 28, 2014 23:21