Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

1.3 KB
Raw Blame

Data directories

OpenIDEA keeps its rebuildable data, such as downloaded tools, language servers, JDKs and index caches, in the operating system's local data directory:

  • Windows: %LOCALAPPDATA%\ai.l0ng.openidea
  • macOS: ~/Library/Application Support/ai.l0ng.openidea
  • Linux: ~/.local/share/ai.l0ng.openidea

To keep this data elsewhere, for example on another drive, set OPENIDEA_LOCAL_DATA_DIR to an absolute path before starting OpenIDEA. The IDE then uses <OPENIDEA_LOCAL_DATA_DIR>/ai.l0ng.openidea and creates it when missing. If the path is relative or cannot be written, OpenIDEA shows an error and exits instead of falling back to the default location.

setx OPENIDEA_LOCAL_DATA_DIR "E:\OpenIDEA"

Settings, plugins, scratches and other user data stay in the operating system's data and configuration directories. Logs stay in their usual location, so they are still written when the variable is wrong. Existing data is not moved: quit OpenIDEA and move only tools/, language-server-runtimes/, index/, cache/, lsp/, notebook-runtime/, server/, logs/, agents/tools/, agents/registry.json and top-level java-usages-*.jar / java-usages-*.tmp to the new location, preserving their relative paths, or let the IDE download and rebuild them. Leave everything else in place.