How to Fix Antigravity Terminal Stuck on “Running…” in Windows 11
If your Antigravity terminal freezes, gets stuck on “Running…”, or AI stops executing commands — follow these steps.
This issue is usually caused by the Windows ConPTY backend, not by PowerShell or CMD.
🔹 Step 1 — Open Settings (JSON)
Open Antigravity
Press Ctrl + Shift + P
Type: Open Settings (JSON)
Press Enter
This will open your settings.json file.
🔹 Step 2 — Disable ConPTY
Add the following line anywhere inside the JSON file:
"terminal.integrated.windowsEnableConpty": false
Make sure:
There is a comma after the previous line (if needed)
The JSON format stays valid
Save the file.
🔹 Step 3 — (Optional but Recommended) Add Stability Settings
For maximum terminal stability on Windows 11, you can also add:
"terminal.integrated.enablePersistentSessions": false,
"terminal.integrated.gpuAcceleration": "off"
If you're using PowerShell (which is completely fine), you can keep:
"terminal.integrated.defaultProfile.windows": "PowerShell"
You do NOT need to switch to CMD or Git Bash.
🔹 Step 4 — Restart Antigravity
This is important.
Fully close Antigravity
Make sure it is not running in the background
Open it again
🎯 What This Fix Does
Antigravity (like Visual Studio Code) uses the Windows ConPTY pseudo-terminal system.
On Windows 11, ConPTY can cause:
Infinite “Running…” state
Frozen terminal
AI execution hanging
Broken input/output streams
Disabling ConPTY forces the editor to use the older, more stable terminal backend.
🚀 Expected Result
After applying this fix:
Terminal no longer freezes
No more infinite “Running…”
AI executes commands normally
PowerShell works correctly inside Antigravity
📌 Summary
If your Antigravity terminal is stuck:
It’s not PowerShell.
It’s not CMD.
It’s not Git.
It’s ConPTY.
Disable it — restart the IDE — problem solved.