13

I accidentally exited the "complete installation" section of CLion before I managed to finish. I got to this point:

CLion - configure MinGW/Cygwin, CMake and GDB

When I got here, I realized that I hadn't installed g++ on Cygwin, so I paused to install g++. I also closed the Customize CLion window.

Now whenever I open CLion, it skips straight to the welcome menu:

CLion - Welcome Menu

How can I get back and go through the Customize Clion as if I had just done so the first time?

Note that this is not specific to CLion, but applies at least to Intellij and likely most of Jetbrain's IDEs.

Justin
  • 24,288
  • 12
  • 92
  • 142
  • I'm not aware of any way other than deleting IntelliJs config files how to get this dialog back (maybe I've just overlooked it). However you can change all of these settings in regular Settings dialog so what's the point? (Granted, this initial setup wizard may be a little more user friendly, but it;s not that hard to find these settings in settings dialog) – Bohuslav Burghardt Sep 29 '15 at 17:31
  • @BohuslavBurghardt I can't find the settings... but how do I delete the config file (where are they stored)? – Justin Sep 29 '15 at 17:33
  • [Here](https://intellij-support.jetbrains.com/hc/en-us/articles/206827437-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs) is a list of directories IntelliJ and Jetbrains IDEs use. Typically it's something like `~/.IntelliJIdea14` (in case of Clion it will probably be `~/.Clion` or something). Be sure to back it up before deleting though :) – Bohuslav Burghardt Sep 29 '15 at 17:35
  • @BohuslavBurghardt That works; you should post that as an answer. But you should note in the answer that it asks for your license key again. – Justin Sep 29 '15 at 17:39

1 Answers1

25

As far as I know, there is no UI way to reinvoke this wizard again. Maybe because it's not really a common use case to need to go through this wizard again.

However you can fool IntelliJ (or other Jetbrains IDEs) into displaying the set-up wizard again by deleting its configuration directory. The config directory is typically located in user's home directory (~/.IntelliJIdea14 for IntelliJ for instance), though it may differ based on your platform. See this page for list of directories Jetbrains IDEs use.


Also note that the directory stores your global settings, so this is probably appropriate action only if you just installed the product but accidentally exited the set-up wizard and need to get it back again.

And as Justin mentions in the comment, it will also remove the licence, so you will need to enter it again afterwards.

There may be just one specific file or configuration entry in one of the files that need to be deleted/changed however given the amount of files it would probably be like looking for a needle in a haystack :)


TLDR (v2020.1+)

Delete the IDE config directory to get the IDE to think it's the first time it's being opened:

  • Linux: ~/.config/JetBrains/<product><version>
  • Mac: ~/Library/Application Support/JetBrains/<product><version>
  • Windows: %APPDATA%\JetBrains\<product><version>
Anonsage
  • 8,030
  • 5
  • 48
  • 51
Bohuslav Burghardt
  • 33,626
  • 7
  • 114
  • 109
  • 3
    For CLion, in my case I found it at ~/.CLion2017.1 for the latest version. Similarly PyCharm config can be found at ~/.PyCharm2017.1. – Bruno Silvano May 03 '17 at 13:16