Changing application configuration, caches, plugins directories

Unix:
~/.config/JetBrains/Fleet
Mac:
~/Library/Application Support/Jetbrains/Fleet
Windows:
~\AppData\Roaming\JetBrains\Fleet
 

Default caches directory location:

Unix:

~/.cache/JetBrains/Fleet

Mac:

~/Library/Caches/JetBrains/Fleet
Windows:
~\AppData\Local\JetBrains\Fleet
 

Default plugins directory location:

Plugins stored on WS Server:
<config_path>/pluginStorage
Plugins downloaded to Frontend:
<config_path>/plugins
 

Changing Fleet config and caches directories via properties file:

System properties for Fleet might be set in three additional places: ~/fleet.properties<caches_dir>/fleet.properties<FLEET_PROPERTIES_FILE>

where

  • <caches_dir> is ~/Library/Caches/JetBrains/Fleet on mac, ~/.cache/JetBrains/Fleet/ on linux and %LOCALAPPDATA%\JetBrains\Fleet\ on windows.
  • <FLEET_PROPERTIES_FILE> – an environment variable, it may point to any properties-file on disk

All system properties defined in those files are merged. If there are multiple values for a property – the latter wins.

 

To define new directory locations for Fleet configuration, caches and plugins, in the fleet.properties file specify the following properties:

fleet.config.path property for the configuration path

fleet.caches.path property for the caches path, e.g:

fleet.config.path=<custom_path>
fleet.caches.path=<custom_path>

Changing via properties file from Fleet:

1. Enable internal mode for Fleet: add "internalMode": true, into Fleet settings.json file 

2. Invoke Goto | Actions... popup and invoke Open FleetCfg action:

mceclip0.png

3. In the Fleet.cfg file specify the

fleet.config.path system property for the configuration path

fleet.caches.path system property for the caches path, e.g:
java-options=-Dfleet.config.path=<custom_path>
java-options=-Dfleet.caches.path=<custom_path>

 4. Restart.

Note that properties in FleetCfg file are processes in the first place. If the same property is specified in thefleet.properties file, the property from FleetCfg file will be overwritten.

0 out of 0 found this helpful
1 comment

Thanks for this article,it's helpful for setting these entries manually.Will Fleet has any way to setting/override these config entries like vscode cli(eg. "--user-data-dir <custom path to user profile>,--extension-dir <custom path to extensions>")?

0

Please sign in to leave a comment.

Have more questions?

Submit a request