Cursor 1.6.3 fails with any terminal command

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After updating to v1.6.3, Cursor terminal commands stopped working at all, failing with the error __zsh_like_cd: command not found. No matter what it tries to do, all end up with this error.

Steps to Reproduce

Any prompt that makes it execute a terminal command, like running tests or listing directory files.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.3 (user setup)
VSCode Version: 1.99.3
Commit: 6ff61021bde05fe311c784a7d29c9320976128c0
Date: 2025-09-09T22:59:10.623Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: add Request ID with privacy disabled

c2b4b58f-9281-4da9-961d-326360ed893e

Does this stop you from using Cursor

Yes - Cursor is unusable

Thanks for reporting this. I’m not able to reproduce the __zsh_like_cd: command not found error in Cursor 1.6.3, and haven’t seen other reports of this specific issue.

Share your shell details - Could you let us know what shell you’re using (zsh, bash, etc.) and any custom themes or configurations (like Oh My Zsh, Powerlevel10k, etc.)?
Check your shell profile - Please share any relevant parts of your .zshrc, .bashrc, or shell configuration files that might define custom functions
Try with a clean shell - As a test, try opening a new terminal with minimal configuration to see if the issue persists

This will help us understand what’s causing the conflict and provide a proper fix.

1 Like

put this at top of your .bashrc

[[ "${CURSOR_AGENT}" != "1" ]] && return

On v1.6.6 I can’t reproduce it anymore :ok_hand:

1 Like

I’m also getting this same error. Randomly started happening yesterday (probably after an update).

Here are my cursor version details:
Version: 1.6.11

VSCode Version: 1.99.3

Commit: ea659ac512725d8ba835e9e77b826949d829d680

Date: 2025-09-11T15:12:12.526Z (1 hr ago)

Electron: 34.5.8

Chromium: 132.0.6834.210

Node.js: 20.19.1

V8: 13.2.152.41-electron.0

OS: Darwin arm64 24.6.0

I did not have this problem before, after upgrade to 1.6.6

every automate command is getting: “bash: command not found: __zsh_like_cd”

windows 10 + WSL: Ubuntu
I do not have any customize setting, everything is default in cursor.
using Ra.in suggestion get rid of the error but seem like it’s completely not connect to wsl anymore.

Hey, could you update to version 1.6.14?

I have the same issue

Version: 1.6.14 (user setup)
VSCode Version: 1.99.3
Commit: 64b72c9cd7e38203078327f881d5fe74930b2600
Date: 2025-09-11T21:41:40.820Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631

1 Like