Agent Terminal not working

my working workaround (Windows 11)

  1. close all cursor instances
  2. uninstall in → control panel → programs and features
  3. delete %appdata%/Cursor
  4. install v2.1.42 from GitHub - oslook/cursor-ai-downloads: All Cursor AI's official download links for both the latest and older versions, making it easy for you to update, downgrade, and choose any version. 🚀
  5. be happy and don’t upgrade anymore
5 Likes

Tried your way but still didn’t solve the problem. I even downloaded the 2.1.50 version, the latest version but the problem remains. Pls help urgently.

just del state.vscdb work in one chat, then del again
C:\Users\******\AppData\Roaming\Cursor\User\workspaceStorage\

1 Like

We need a fix for this problem ASAP; I tried all the mentioned hacks but none of them works for more than 1 or 2 request. the output is crucial for my workflow.

2 Likes

where is that “state.vscdb”

C:\Users\******\AppData\Roaming\Cursor\User\workspaceStorage\

2 Likes

This solution worked for me, thanks for sharing.

My home system started doing this on my day off 12/5. Very frustrating, but it eventually started working again after many restarts that caused me to lose progress. This morning I login to work, update Curson and now I have the same issue here. can you get this product fixed before spamming us with ‘code review’? I cant even imagine the problems that offering would cause

Legit best fix. Do not skip a step. If you are worried about losing chats… download your chats if you can and then dump them into a new folder inside your project after everything is solid.

Also make sure you set NONE for cursor updating… Even though I had this set in VSCODE – Cursor needs the same settings.

This is working! thx for sharing. Will skip updates until this is fixed.

My friend, none of the solutions worked for me. Please let’s fix this as soon as possible. I could barely get anything done today.

21.1.50 - Dec 8, 2025

Windows 11 Pro

Same issue here, I’ve tried the legacy terminal fix - no luck.

1 Like

Everything is working fine for me right now. I don’t know why.

Indeed, there’s a problem somewhere in the Cursor’s stored data on our PCs!
Even after updating to the latest version Cursor’s agent worked for a while and then the terminal command execution hanged again…
I couldn’t find the setting to disable Cursor’s update. It’s going to be automatically updated once I restart it. Pls help :slight_smile:

… the post that intended to reply was deleted.

Does not work. This is destroying my productivity.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Issue Description:
The Shell tool executes commands successfully (returns exit code 0) but captures no output and produces no observable side effects.

Steps to Reproduce

Use the AI Shell tool to run any command in PowerShell on Windows
Observe that exit code shows 0 (success)
Observe that “Command output:” section is empty
Commands that should create files or modify state don’t actually execute
Commands Tested (all show same behavior):

Test 1: Simple echoecho “Test output”# Test 2: Git commandgit status# Test 3: PowerShell explicitpowershell -Command “Get-Location; Write-Host ‘Current directory’”# Test 4: CMD fallbackcmd /c “echo Test from cmd && dir /b”# Test 5: File creationecho “Test content” > test_output.txt

Actual Behavior:
Exit code: 0 (success)
Command output: Empty (no text captured)
No side effects observed (test file not created)

Expected Behavior

Command output should be captured and displayed
Commands should execute and produce side effects (files created, etc.)

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Environment:
OS: Windows 10.0.26100
Shell: PowerShell
Cursor Version: 2.1.49
PowerShell Profile: None (Test-Path $PROFILE returns False)

For AI issues: which model did you use?

Sonnet 4.5

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

6 releases later, terminal tool still failing due to “working directory” not being passed. Asking agent to pass it fixes it, but file edits are also requiring approval indicating the agent window has a bug around working directory…

Here is a request ID from a broken one if it helps:

57c60c0a-f735-4afa-bed6-9a628938ff26

1 Like

I love you so much right now. Thanks.

Cursor team, can we please get an update about this? Cursor is currently unusable and I would like to know if I should cancel my Ultra subscription.

1 Like