Share IDE Settings
CLion lets you share your settings between different instances of your IDE. This helps you recreate a comfy working environment if you are working from different computers and spare the annoyance of things looking or behaving differently from what you are used to.
You can share your settings in one of the following ways:
By using the IDE Settings Sync functionality. It utilizes the JetBrains server, so no additional configuration is required. Note that synced settings are linked to your JetBrains Account, so they will not be available to other users.
The settings you can sync include: IDE themes, keymaps, color schemes, system settings, UI settings, menus and toolbars settings, project view settings, editor settings, code completion settings, parameter name hints, live templates, code styles, and the list of enabled and disabled plugins.
By configuring a settings repository. This allows you to sync any configurable components (except for the list of enabled and disabled plugins), but requires setting up a Git repository with the settings you want to share.
This option is useful if you want to implement the same settings among your team-members.
By exporting the settings you want to share as a ZIP archive and then importing them to a different IDE installation. You can export you code style settings, Git settings, including registered GitHub accounts, the Debugger settings, Registry keys, look and feel, and more.
Share settings through Settings Sync
Sync settings between IDE instances
On the computer with the IDE instance containing the settings you want to share, sign in to either of the following:
Your IDE: from the main menu choose Help | Register, choose to activate your license with the JetBrains Account and enter your credentials.
Toolbox App: click the gear icon in the top right corner of the application, select Settings and click Log in. Note that by signing in to Toolbox App, you automatically sign in to all JetBrains products that you run.
In the bottom-right corner of the CLion window, click the gear icon and select Enable Sync. In the dialog that opens, click the Enable Settings Sync button. Your local settings will be exported to the JetBrains repository linked to your account.
If you want to automatically sync the list of all enabled and disabled plugins, select the Sync plugins silently option. For instructions on how to sync plugins manually if it is disabled, refer to Sync plugins.
On a different computer where you want these settings to be applied, click the gear button, and select Enable Sync. In the dialog that opens, click Get Settings from Account to import the settings from the repository.
If you want to override the repository with your local settings, click Keep and Sync Local Settings.
Your local settings will be automatically synchronized with the settings stored in the repository each time you run a different IDE instance (or activate it after more than one hour of inactivity), or when any of these settings has been modified and this change has been applied.
When you install or uninstall plugins, or change their state (enabled/disabled), you can apply these changes to all your IDE installations.
If you want to automatically sync plugins across IDE instances, select the Sync plugins silently option when you enable settings synchronization.
Sync plugins manually
In the bottom-right corner of the CLion window, click the gear icon and select Sync Plugins.
A dialog opens showing a list of all plugins that were modified since the last sync. Click the arrow button next to each plugin and choose either to modify the plugin's state, apply the repository state to all installations, skip this change locally, or skip it across all IDE instances.
After you've selected which action to take for each plugin, click Apply Changes.
Share settings through a settings repository
Configure a settings repository
On the computer where the CLion instance whose settings you want to share is installed, select File | Settings Repository from the main menu. Specify the URL of the repository you've created and click Overwrite Remote.
On each computer where you want your settings to be applied, in the Settings/Preferences dialog (Ctrl+Alt+S), expand the Tools node and choose Settings Repository. Specify the URL of the repository you've created, and click Overwrite Local.
You can click Merge if you want the repository to keep a combination of the remote settings and your local settings. If any conflicts are detected, a dialog will be displayed where you can resolve these conflicts.
If you want to overwrite the remote settings with your local settings, click Overwrite Remote.
Your local settings will be automatically synchronized with the settings stored in the repository each time you perform an Update Project or a Push operation, or when you close your project or exit CLion.
On the first sync, you will be prompted to specify a username and password. It is recommended to use an access token for GitHub authentication. If, for some reason, you want to use a username and password instead of an access token, or your Git hosting provider doesn't support it, it is recommended to configure the Git credentials helper.
If you want to disable automatic settings synchronization, from the main menu select File | Settings | Tools | Settings Repository and disable the Auto Sync option. You will be able to update your settings manually by choosing VCS | Sync Settings from the main menu.
Share more settings through additional read-only repositories
Apart from the Settings Repository, you can configure any number of additional repositories containing any types of settings you want to share, including live templates, file templates, schemes, deployment options, and so on.
These repositories are referred to as read-only sources, as they cannot be overwritten or merged, just used as a source of settings as is.
Synchronization with the settings from read-only sources is performed in the same way as for the Settings Repository.
Configure read-only repositories
In the Settings/Preferences dialog (Ctrl+Alt+S), go to .
Click and add the URL of the GitHub repository that contains the settings you want to share.
Export your settings
Export settings to a ZIP archive
Choose File | Export Settings from the main menu.
Select the settings you want to export and specify the path to the target archive.
Import settings from a ZIP archive
Choose File | Import Settings from the main menu.
Select the ZIP archive that contains your settings in the dialog that opens.
Select the settings you want to apply in the Select Components to Import dialog that opens and click OK.