CLion 2021.1 Help

Run anything

In CLion, you can run applications, scripts, commands, tasks, and so on. CLion provides a single entry point for all these operations — Run anything.

The Run Anything popup

Run Anything is a quick way to launch run/debug configurations, open recent projects, and run commands. It also helps you use proper command syntax by generating suggestions as you type. When you call a command, for example, a Cargo command for a Rust project, Run anything delegates the further work to the appropriate tools.

Run/debug an application

  • Start typing the run/debug configuration name and select it from the suggestions list:

    Run configurations from Run Anything

    To debug a run configuration, hold Shift when launching it.

Run commands

  • Start typing the command name and navigate the suggestions list using the arrow keys. When you press Space, you accept the current suggestion and get further suggestions specific to this command.

    Run a Command in the Run Anything dialog
    List of the available commands in Run Anything
  • You can set an arbitrary location for the command's working directory. Use the control at the top-right corner:

    Execution context

Open recent projects

You cal also quickly reopen a recent project from the Run Anything dialog. Search for it by name or type open to shorten the list of suggestions.

Opening a recent project from Run Anything
Last modified: 28 April 2021