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 (all PhpStorm versions and WebStorm before 7.0 use this common directory)
  • WebStorm (WebStorm starting from 7.0 version)
  • 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 1, 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 1, 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 5, 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 5, 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
User photo
Redetection

Please add 'appCode' to the OS X product list. I've spend some time searching for it. Unlike others, it begins with little leading character

May 28, 2014, 11:51
User photo
Jerryacoleman

The open project dialog path always defaults to my home directory (I am using Linux).   Can I change the default location of my projects?

May 28, 2014, 17:51
User photo
Serge Baranov
JetBrains

IDE remembers the last folder where you have created a project using the wizard. Next time you create the project, the same folder will be suggested.

May 28, 2014, 17:53
User photo
Joerg

I successfully updated PhpStorm from 7.1 to 8.0 but didn't act to import settings from existing IDE at the very first screen. Later import of these settings didn't create my recent projects. Removing all directories as used by the IDE and listed here (Mac OSX) helped me, to restart the update process, and all was fine. Thx for this.

September 20, 2014, 03:43
User photo
Damluar

I find it easier to move configuration folder to another location (SSD or another drive) and just create a soft link pointing to it. This way it's transparent to Intellij and there is no need to change the configs.

December 4, 2014, 15:11
User photo
Diego

I can't to see to find any of the mentioned directories on Yosemite using 8.0.3 EAP 139.873.

January 6, 2015, 21:11
User photo
Diego

[edit]

I can't to see to find any of the mentioned directories on Yosemite using PhpStorm 8.0.3 EAP 139.873.

January 6, 2015, 21:13
User photo
Diego

Alright, found it at:

/Users/<USER>/Library/Preferences/WebIde80/ for phpStorm

January 6, 2015, 21:20
User photo
Eva W Xiao

I found the ~/.IdeaICXX/ directory (trying to add a plugin), but once I enter it, the only other directory in it is "restart." There's no "Library" directory....

I'm running Mavericks 10.9.5.  

January 20, 2015, 04:35
User photo
david valentine

Macs. Unhide the library folder... 

http://www.macworld.com/article/2057221/how-to-view-the-library-fol...

 

command-J in my user folder worked the simplest

March 26, 2015, 21:36