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"
}
}
}
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:
- Microsoft Docs
-
Or run:
winget install Microsoft.PowerShell
PowerShell 7 fully supports VS Code terminal integration and resolves command/input detection issues.
Top comments (0)