DEV Community

Janko
Janko

Posted on Edited on

VS Code Terminal Shell Integration (Windows)

To avoid “The terminal is awaiting input” and similar prompts, VS Code needs Terminal Shell Integration enabled and a supported shell.

Problem:
If you see “The terminal is awaiting input” or similar prompts, VS Code needs Terminal Shell Integration enabled and a supported shell.

Required VS Code settings (settings.json):

{
    "terminal.integrated.shellIntegration.enabled": true,
    "terminal.integrated.defaultProfile.windows": "PowerShell 7",
    "terminal.integrated.profiles.windows": {
        "PowerShell 7": {
            "path": "C:\\Program Files\\PowerShell\\7\\pwsh.exe"
        }
    }
}
Enter fullscreen mode Exit fullscreen mode

After changing settings:

  • Close all terminals
  • Reload VS Code window

Still seeing the message?
You are likely using Windows PowerShell 5.1, which has unreliable shell integration.

Fix (one-time per machine):

  • Install PowerShell 7:

PowerShell 7 fully supports VS Code terminal integration and resolves command/input detection issues.

Top comments (0)