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

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

Examples

Examples for IntelliJ IDEA 2022.2:

Windows:

  • Configuration (idea.config.path): %APPDATA%\JetBrains\IntelliJIdea2022.2
  • Plugins (idea.plugins.path): %APPDATA%\JetBrains\IntelliJIdea2022.2\plugins
  • System (idea.system.path): %LOCALAPPDATA%\JetBrains\IntelliJIdea2022.2
  • Logs (idea.log.path): %LOCALAPPDATA%\JetBrains\IntelliJIdea2022.2\log

macOS:

  • Configuration (idea.config.path): ~/Library/Application Support/JetBrains/IntelliJIdea2022.2
  • Plugins (idea.plugins.path): ~/Library/Application Support/JetBrains/IntelliJIdea2022.2/plugins
  • System (idea.system.path): ~/Library/Caches/JetBrains/IntelliJIdea2022.2
  • Logs (idea.log.path): ~/Library/Logs/JetBrains/IntelliJIdea2022.2

Linux:

  • Configuration (idea.config.path): ~/.config/JetBrains/IntelliJIdea2022.2
  • Plugins (idea.plugins.path): ~/.local/share/JetBrains/IntelliJIdea2022.2
  • System (idea.system.path): ~/.cache/JetBrains/IntelliJIdea2022.2
  • Logs (idea.log.path): ~/.cache/JetBrains/IntelliJIdea2022.2/log

 

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

<product> would be one of the following:

  • IntelliJIdea (IntelliJ IDEA Ultimate Edition)
  • IdeaIC (IntelliJ IDEA Community Edition)
  • RubyMine
  • WebIde (PhpStorm versions before 2016.1 and WebStorm before 7.0 use this common directory)
  • PhpStorm (PhpStorm starting from 2016.1 version)
  • WebStorm (WebStorm starting from 7.0 version)
  • PyCharm (PyCharm Professional)
  • PyCharmCE (PyCharm Community)
  • AppCode
  • CLion
  • DataGrip
  • Rider

Android Studio folder locations can be found in this document.

491 out of 946 found this helpful
86 comments

This document is outdated, settings for 2020.1 are now inside ~/Library/Application Support/JetBrains/<productName><productVersion>

1

Hi my intelij idea is not working I have a valid JDK and JRE installed and have a java_home variable the system variables and when I try open idea it says Failed to load jvm if you have a java installation please  define a JAVA_HOME variable. Pls help

0

Remarkable.  A document titled "Directories used by ...."  that fails to list any directory locations.

0

Adam Pycharm

I've updated the document with the examples. Sorry for the inconvenience and thanks for the feedback.

0

Where do pycharm and IDEA store the configuration for the currently used theme? I found a file color.scheme.xml in ~/.config/JetBrains/.../, but changing it seems to have no effect.

(I want to change the theme externally with a script to sync it with the system color scheme on Linux).

0

Lorenz Hoffmann Make sure IDE is not running when you change this file.

0

I want import or restore localhistory(VCS) files from phpstorm 2017.2 to phpstorm 2019.2

I have "changes.storageData" file from old phpstorm, last time I changed all directory of this contents of file from H:/ to C:/ after reinstalling phpstorm 2017.2, and now after removing old Windows and install new Windows 8.1 , I istalled phpstorm 2019.2 and In addition to doing the previous thing I said(change contents from H:/ to C:/) , changed directory name of phpstorm2017.2 to phpstorm2019.2 and replace the file, but doesnt work and I cant see history of changes in VCS->LocalHistory

How can I restore LocalHistory data from phpstorm2017.2 to phpstorm2019.2?

(I cant install newer version of PhpStorm now)
0

Hrx2019

Unfortunately, currently it is not possible to move history between major versions. 

Please vote for https://youtrack.jetbrains.com/issue/IDEA-61385

0

For me as a Windows user this articles mentions the four directories Configuration, Plugins, System and Logs.  On the other hand I have another 16 files and folder with about 450MB I need to get moved for saving space at the location (which was the reson I was linked to this article)

0

I don't understand why there isn't wider adoption of using the environment variables unless it is that people simply don't know about them. If you are using "~/" for the user folder on *nix, why don't you use "%USERPROFILE%" to stand in for "C:\Users\<usermame>"

Take it one step further and user %APPDATA% for roaming and %LOCALAPPDATA% for local

can use these in CMD, run, start menu, explorer address bar etc

Edited by Prandleman
0

Intellij version: IntelliJ IDEA 2022.1.1 (Ultimate Edition)

Java version: openjdk version "11.0.2"

ZScaler version: 3.2.0.62

macOS: Catalina 10.15.7

I had the same issue when hitting an API endpoint in my SpringBoot application which in turn was making an external call to a secure https api.

This is what I did to fix it:

1. Locate my JRE: (NOTE: Make sure this is the same java that your IDE uses to run the application)

which java   
/Users/afsharh/.sdkman/candidates/java/11.0.2-open/bin/java

2. cd into the java certs:

cd /Users/afsharh/.sdkman/candidates/java/11.0.2-open/lib/security

3. add my Z Scaler root certificate to `cacerts` which is located in the directory in point 2 (in my case I have stored my zscaler root certificate in ~/Desktop. Do not forget to change that to point to the right location. Look at point 4, if you are not sure how to get the ZScaler root certificate.

keytool -import -trustcacerts -alias mdecert -file ~/Desktop/Zscaler\ Root\ CA.cer -keystore cacerts

4. Go to the mac key store -> search for zscaler -> file -> export

Edited by Hafshar1989
0

I use Mac and I could not change the directory when I tried to copy the path as 

/Library/Application Support/JetBrains/IntelliJIdea2022.2

Therefore firstly I went to Library directory and then wrote 

cd "Application Support"

command with double quotes. It worked! 

0

Is there an Actual command line I can use to zip and export settings so I can later use a command line to import the same zip into a new install?

0

For people who are using Intellij's Toolbox for managing different apps, the plugin location is different for Intellij IDEA Ultimate. In my case (Windows 10), it is under C:\Users\<USERNAME>\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\<INTELLIJ_ULTIMATE_IDEA_VERSION>.plugins.

I removed manually the problematic plugin (deleted the plugin folder) which hindered me to start the app and then I could start the app successfully.

Maybe, this information can help someone with future problems. Should this be updated and added in the article?

0

On macos, plugins seem to be in 

    ~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-[012]/[build-number]/IntelliJ IDEA.app.plugins/

There is no 

    ~/Library/Application Support/JetBrains/IntelliJIdea2022.2/plugins

folder at all.

1

can I save delete all directories under `~/Library/Caches/JetBrains/` ? Are they recreated after next launch of the app?

928M    AppCode2022.2
4.7M    AppCode2022.3
32G    Fleet
3.2G    IntelliJIdea2023.1
8.2G    IntelliJIdea2023.2
7.1G    IntelliJIdea2023.3
2.1M    JetBrainsGateway2022.2
2.4M    JetBrainsGateway2023.2
97M    JetBrainsGateway2023.3
191M    Rider2022.1
140K    Rider2023.2
90M    Rider2023.3
3.7G    Toolbox
5.6M    WebStorm2022.3
9.7M    WebStorm2023.1
140K    WebStorm2023.2
101M    WebStorm2023.3
 

for example in /Fleet/intellij-plugin allone are 21G just for a fleet-backend
 

 

0

It would be nice if the toolbox app provide a function to clean up the cache

0

Toolbox has this option:

You can also delete these directories manually.

0

ok- it was hidden in the settings under details of `Tools`-section  - which was collapsed.

But I still have question because it was not clear from your answer.

a) At the tool box there are other folders visible, not the cache folder. The folders there are from not the latest version - for example  IntelliJ 2023.3 is the latest, so the toolbox give me the option to delete all for <2023.3

b) But there is no option visible for the `*/Caches/*` folder. I guess I can manually delete the older versions. Right?

c) But what about the current version? Can I safe delete the IntelliJIdea2023.3 folder when i currently using the 2023.3 version? 

d) I am aware that the cache needs regenerated and/or new files need to be downloaded - are there other drawbacks which avaid me to “refresh the cache" by deleting them?

Edited by Muescha
0

Muescha, the only drawback of deleting the system directory is losing the local history: https://www.jetbrains.com/help/idea/local-history.html.

0

Whoever is doing the migration scripts needs to step up! Todays incremental update once again broke the IDEA🤣

0

The info on this page created by “Permanently deleted user” is outdated as there are no such directories:


macOS:

  • Configuration (idea.config.path): ~/Library/Application Support/JetBrains/IntelliJIdea2022.2
  • Plugins (idea.plugins.path): ~/Library/Application Support/JetBrains/IntelliJIdea2022.2/plugins
  • System (idea.system.path): ~/Library/Caches/JetBrains/IntelliJIdea2022.2
  • Logs (idea.log.path): ~/Library/Logs/JetBrains/IntelliJIdea2022.2

I'm running 

IntelliJ IDEA 2023.3.6 (Ultimate Edition)
Build #IU-233.15026.9, built on March 21, 2024

on MacOS 14.5 (23F79)

0

did you checked the parent folders? 

you need to look into the `IntelliJIdeaYYYY.Q` folder. (`Y`ear and `Q`uarter)

For my version `2024.2` all the folders are in place but with the `IntelliJIdea2024.2`

0

Please sign in to leave a comment.

Have more questions?

Submit a request