# Run anything

> **TL;DR**
> Double `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (NetBeans), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS))

Run Anything is a quick way to launch [run/debug configurations](run-debug-configuration.html), applications, scripts, commands, tasks, as well as open recent projects. It also helps you use proper command syntax by generating suggestions as you type. When you call a command,  Run Anything delegates the further work to the appropriate tools.

![The Run Anything popup](https://resources.jetbrains.com.cn/help/img/idea/2026.2/run_anything_mvn.png)

## Open the Run Anything popup

Procedure:

* Press `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (NetBeans), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS)) twice.

> **Tip:**
> You can use a [custom shortcut](#customize_shortcut) for the action.

You can also add the Run Anything ![Run Anything](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.runAnything.svg) icon to the toolbar. For that,   open the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS))), go to `Appearance and Behavior | Menus and Toolbars`, expand the Main Toolbar node, and add the Run Anything action, for example, below Search Everywhere.

Alternatively, select Customize Toolbar from the context menu of the main toolbar and then add the Run Anything action, for example, below Search Everywhere.

For more information, refer to [Menus and toolbars](customize-actions-menus-and-toolbars.html).

## Launch a run/debug configuration

Procedure:

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

![Start run/debug configurations from the Run Anything popup](https://resources.jetbrains.com.cn/help/img/idea/2026.2/run-anything-rc.png)

* To [debug](debugging-code.html)   a run configuration, hold `Shift` (Windows), `Shift` (macOS), `Shift` (IntelliJ IDEA Classic (macOS)), `Shift` (macOS System Shortcuts), `Shift` (XWin), `Shift` (GNOME), `Shift` (KDE), `Shift` (Emacs), `Shift` (Sublime Text), `Shift` (Sublime Text (macOS)), `Shift` (NetBeans), `Shift` (Visual Studio), `Shift` (Visual Studio (macOS)), `Shift` (Eclipse), `Shift` (Eclipse (macOS)) while selecting the run/debug configuration

## Run commands

Procedure:

* Start typing the command name and navigate the suggestion list using the arrow keys. When you press `Space` (Windows), `Space` (macOS), `Space` (IntelliJ IDEA Classic (macOS)), `Space` (macOS System Shortcuts), `Space` (XWin), `Space` (GNOME), `Space` (KDE), `Space` (Emacs), `Space` (Sublime Text), `Space` (Sublime Text (macOS)), `Space` (NetBeans), `Space` (Visual Studio), `Space` (Visual Studio (macOS)), `Space` (Eclipse), `Space` (Eclipse (macOS)), you accept the current suggestion and get further suggestions specific to this command.

![Run Anything: type the name of a package manager](https://resources.jetbrains.com.cn/help/img/idea/2026.2/ws_run_anything_npm.png)

![Run a Command in the Run Anything dialog](https://resources.jetbrains.com.cn/help/img/idea/2026.2/run_anything_mvn.png)

* To get the list of all available commands, type `?`. The list of commands depends on the installed/enabled plugins. If a command is not on the suggestion list, it will be executed in the terminal.

By default, the working directory depends on the project or module you are currently in. To use the location of the current file as the working directory, hold `Alt` (Windows), `Alt` (macOS), `Alt` (IntelliJ IDEA Classic (macOS)), `Alt` (macOS System Shortcuts), `Alt` (XWin), `Alt` (GNOME), `Alt` (KDE), `Alt` (Emacs), `Alt` (Sublime Text), `Alt` (Sublime Text (macOS)), `Alt` (NetBeans), `Alt` (Visual Studio), `Alt` (Visual Studio (macOS)), `Alt` (Eclipse), `Alt` (Eclipse (macOS)) when running a command.

You can configure the working directory in the top-right corner of the dialog:

![Configure Context in the Run Anything dialog](https://resources.jetbrains.com.cn/help/img/idea/2026.2/run-anything-configure-context.png)

## Open a recent project

You can also quickly reopen a [recent
project](creating-and-managing-projects.html)  from the Run Anything popup. Search for the project by the name or type `open` to shorten the list of suggestions, then select the required project from the list, and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)):

![Opening a recent project from the Run Anything popup](https://resources.jetbrains.com.cn/help/img/idea/2026.2/run-anything-project.png)

## Send HTTP requests

If, while [composing an HTTP request](http-client-in-product-code-editor.html), you specified its name, you can find and send this HTTP request from the Run Anything popup.

Procedure:

* Start typing the name of an HTTP request and select it from the suggestion list:

![Send HTTP requests](https://resources.jetbrains.com.cn/help/img/idea/2026.2/run_anything_http.png)  If your request contains [environment variables](http-client-variables.html#environment-variables), press `Shift` (Windows), `Shift` (macOS), `Shift` (IntelliJ IDEA Classic (macOS)), `Shift` (macOS System Shortcuts), `Shift` (XWin), `Shift` (GNOME), `Shift` (KDE), `Shift` (Emacs), `Shift` (Sublime Text), `Shift` (Sublime Text (macOS)), `Shift` (NetBeans), `Shift` (Visual Studio), `Shift` (Visual Studio (macOS)), `Shift` (Eclipse), `Shift` (Eclipse (macOS)) while selecting a request. This will open the popup menu where you can select the environment to be used for the request.

## Change the Run Anything shortcut

Procedure:

If you need to customize the assigned shortcut (double `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (NetBeans), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS))) for Run Anything, use the following steps:

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Keymap`.

2. In the search field, type Run Anything.

3. Open the context menu for the Run Anything shortcut and select an action: add, remove, or edit the shortcut. Then click OK.

> **Tip:**
> You can completely [disable double-modifier shortcuts](configuring-keyboard-and-mouse-shortcuts.html#doublekey-disable_steps).

