Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
On Windows, Cursor IDE shows a toast notification (bottom-left of the IDE
window) proposing to install Cursor CLI, even though agent is already
installed and on PATH. When the user accepts via the toast button, the IDE
runs the Unix installer (curl https://cursor.com/install -fsS | bash) in
the default integrated terminal β Git Bash / MINGW64 β which immediately
fails. The native Windows installer
(irm 'https://cursor.com/install?win32=true' | iex in PowerShell) is
not used.
This is not triggered from a chat; itβs an IDE-level notification. There is
no Request ID associated with the action.
These are two distinct bugs:
- Detection: IDE does not check whether
agentis already on PATH before
showing the install toast. - Installer selection: On Windows the IDE should run the native installer
in PowerShell, notcurl | bashin Git Bash/MSYS. The Unix script does
not supportMINGW64_NT-*and would otherwise risk overwriting /
conflicting with the existing native install in
%LOCALAPPDATA%\cursor-agent.
Steps to Reproduce
- On Windows, install Cursor CLI natively:
irm 'https://cursor.com/install?win32=true' | iex(in PowerShell).
Verify withwhere agentandagent --version. - Set Git Bash as the default integrated terminal in Cursor IDE.
- Open Cursor IDE. After some time, a toast appears in the bottom-right
corner offering to install Cursor CLI. - Click the install button on the toast.
- IDE opens (or focuses) the integrated terminal (Git Bash) and runs
curl https://cursor.com/install -fsS | bash.
Expected Behavior
- If
agentis already on PATH β no install toast (or at most an
update toast that usesagent update). - If install/upgrade is genuinely needed on Windows β run the native
installer in PowerShell:
irm 'https://cursor.com/install?win32=true' | iex
Never run the Unixcurl | bashscript in Git Bash/MSYS, because:- it does not support
MINGW64_NT-*(current behavior β fails fast) - if it ever stops failing fast, it could install a Unix-style binary
into~/.local/binand shadow / conflict with the existing native
install.
- it does not support
Operating System
Windows 10/11
Version Information
Version: 3.2.16 (user setup)
VSCode Version: 1.105.1
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
Additional Information
Existing CLI install (working, untouched):
- Path:
C:\Users\<user>\AppData\Local\cursor-agent\agent.cmd - Version:
2026.04.29-c83a488 - Installed ~1 week ago via official Windows installer:
irm 'https://cursor.com/install?win32=true' | iex where agentresolves to the path above;agent --versionprints the
version correctly.
Actual result
Installer aborts in Git Bash:
Cursor Agent Installer
βΈ Detecting system architecture...
β Unsupported operating system: MINGW64_NT-10.0-26200
No installation/upgrade happens. Existing native install is unchanged
(luckily β the Unix script bailed out on uname detection).
Does this stop you from using Cursor
No - Cursor works, but with this issue