# 出力コンソールのターミナル

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/ja-jp/help/clion/llms.txt).

> **TL;DR**
> 実行 / デバッグ構成  : CMake アプリケーション、ネイティブアプリケーション、C/C++ ファイル

CLion emulates terminal in the output console to help you work with [text-based user interfaces (TUI)](https://en.wikipedia.org/wiki/Text-based_user_interface), for example, [curses/ncurses](https://invisible-island.net/ncurses/) applications.

![コンソール内のターミナルの例](https://resources.jetbrains.com/help/img/idea/2026.3/cl_terminal_outputconsole_example.png)

> **Tip:**
> 実装の詳細については、 [JediTerm(英語)](https://github.com/JetBrains/jediterm) を参照してください。

Procedure: 出力コンソールでターミナルエミュレーションを有効にする

1. メインメニューで  `実行 | 実行構成の編集​`  へ移動します。

2. 目的の構成を選択し、   出力コンソールでターミナルをエミュレートする   チェックボックスを設定します。

![出力コンソールでのターミナルエミュレーションの有効化](https://resources.jetbrains.com/help/img/idea/2026.3/cl_terminalemulation_config.png)

> **Note:**
> このオプションは、 [CMake アプリケーション](run-debug-configuration-application.html)、 [ネイティブアプリケーション](run-debug-configuration-makefile-application.html)、 [C/C++ ファイル](run-single-file.html#run-singlefile-config-create)構成でのみ使用できます。

## 制限

The availability of this feature depends on the OS, [debugger](configuring-debugger-options.html), and [toolchain](how-to-create-toolchain-in-clion.html) you are using. また、入力リダイレクトがあるかどうか、実行中のプロセスが管理者権限で実行されているかどうかによっても異なります。

以下の表は、特定のケースでの実行、GDB によるデバッグ、および LLDB によるデバッグのために、出力コンソールでターミナルエミュレーションが使用できるかどうかを示しています。

### Linux

|  |  デフォルト  |  特権を使って実行する  |  リダイレクトされた入力  |
| --- | --- | --- | --- |
|  実行  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |
|  GDB  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |
|  LLDB  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |

### macOS

|  |  デフォルト  |  特権を使って実行する  |  リダイレクトされた入力  |
| --- | --- | --- | --- |
|  実行  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |
|  LLDB  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |

### Windows

|  |  デフォルト  |  特権を使って実行する  |  リダイレクトされた入力  |
| --- | --- | --- | --- |
|  実行  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |
|  GDB  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |
|  MSVC LLDB  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |

### Docker、リモート、WSL ツールチェーン

|  |  デフォルト  |  特権を使って実行する  |  リダイレクトされた入力  |
| --- | --- | --- | --- |
|  実行  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![feature is supported](https://resources.jetbrains.com/help/img/idea/2026.3/check_retina_bold_2.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |
|  GDB  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |  ![機能はサポートされていません](https://resources.jetbrains.com/help/img/idea/2026.3/cross_retina.png)  |

## See also

### ハウツー

[ツールチェーン](how-to-create-toolchain-in-clion.html) [デバッガーオプション](configuring-debugger-options.html) [リモート開発​](remote-development.html)

### プロシージャ

[Docker ツールチェーン](clion-toolchains-in-docker.html) [ローカルソースを使用したリモート](remote-projects-support.html) [WSL2](how-to-use-wsl-development-environment-in-product.html)

