I’m using Cursor on Windows.
When I open a terminal manually, it starts normally in PowerShell with the PS> prompt.
But when the AI Agent runs something, it opens a different terminal that looks completely wrong — it shows $ instead of PS> and says Active code page: 65001.
Because of that, it doesn’t behave like real PowerShell, and some normal commands don’t work the same way.
I just want the AI Agent to use the same PowerShell terminal that opens when I start it myself.
How can i fix it?
Steps to Reproduce
Open Cursor
Create a terminal manually → works fine (shows PS> prompt)
Ask the AI Agent to run a command
It opens a $ terminal with Active code page: 65001 instead of PowerShell
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Thanks for confirming. Since the Legacy Terminal Tool isn’t helping for you (even though it fixed this for others), let’s gather a bit more info:
Check settings.json: open Ctrl+Shift+P → “Preferences: Open User Settings (JSON)” and share lines that contain terminal.integrated (especially defaultProfile.windows and automationProfile.windows)
Current version: what Cursor version are you on now? (Help > About Cursor > Copy)
When the Agent opens the wrong terminal, open Developer Console (Help > Toggle Developer Tools) and check for errors. Please share any messages related to terminal/shell.
This might be a regression or edge case that we should escalate if the standard fix isn’t working.