private static void showInstructions(@Nullable Project project) {
    String message;
    if (ExternalUpdateManager.ACTUAL == ExternalUpdateManager.TOOLBOX) {
      message = ApplicationBundle.message("cli.launcher.message.toolbox");
    }
    else if (ExternalUpdateManager.ACTUAL == ExternalUpdateManager.SNAP) {
      var name = ApplicationNamesInfo.getInstance().getScriptName();
      message = ApplicationBundle.message("cli.launcher.message.snap", name);
    }
    else if (SystemInfo.isWindows) {
      var dir = Path.of(PathManager.getBinPath());
      var name1 = ApplicationNamesInfo.getInstance().getScriptName() + ".bat";
      var name2 = ApplicationNamesInfo.getInstance().getScriptName() + "64.exe";
      var url = HelpManagerImpl.getHelpUrl(TOPIC);
      message = ApplicationBundle.message("cli.launcher.message.windows", dir, name1, name2, url);
    }
    else if (SystemInfo.isMac) {
      var dir = Path.of(PathManager.getHomePath()).resolve("MacOS");
      var name = ApplicationNamesInfo.getInstance().getScriptName();
      var url = HelpManagerImpl.getHelpUrl(TOPIC);
      message = ApplicationBundle.message("cli.launcher.message.unix", dir, name, url);
    }
    else {
      var dir = Path.of(PathManager.getBinPath());
      var name = ApplicationNamesInfo.getInstance().getScriptName() + (Boolean.getBoolean("ide.native.launcher") ? "" : ".sh");
      var url = HelpManagerImpl.getHelpUrl(TOPIC);
      message = ApplicationBundle.message("cli.launcher.message.unix", dir, name, url);
    }
    Messages.showInfoMessage(project, message, ApplicationBundle.message("cli.launcher.message.title"));
  }
private static void showInstructions(@Nullable Project project)