CLI unresponsive after trusting workspace in Powershell 7

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

The agent becomes unresponsive

Steps to Reproduce

  • Create a new git worktree
  • cd into the new directory and run “agent”
  • Hit “enter” to trust the workspace
  • The CLI app is unresponsive

Can be resolved by just opening the CLI in a new terminal after trusting the workspace, but it’s annoying.

Expected Behavior

Be able to use the agent :slight_smile:

Operating System

Windows 10/11

Version Information

About Cursor CLI

CLI Version 2026.05.05-84a231c
Model GPT-5.5 272K Medium
Subscription Tier Team
OS win32 (x64)
Terminal windows-terminal
Shell cmd
User Email [email protected] Cursor CLI

CLI Version 2026.05.05-84a231c
Model GPT-5.5 272K Medium
Subscription Tier Team
OS win32 (x64)
Terminal windows-terminal
Shell cmd
User Email [email protected]

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi Poojan,

This is a known bug with the CLI on Windows. Your workaround (opening a new terminal after trusting) is correct. This should be fixed in an upcoming CLI update.

Thank you!