Powershell support in Cursor

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I think there are two “bugs” loosely defined here:

First is that I just got the notification to install the cursor CLI when I opened cursor and it puts the following command into my terminal

curl Cursor CLI · Cursor -fsS | bash

this is the incorrect command because I am on windows and so the default terminal is PowerShell

The second “bug” or thing I wish was fixed and have been noticing for months is that AI agents will consistently fail their first command that they try to run in the command tool, using bash syntax, idk if this is a memory issue, i.e you told the AI at the start of the session that it should use powershell commands and it fails to or if you are not notifying the LLM of its environment, either way it might be beneficial to remind the agent before it does a call that it should use powershell syntax.

also your instructions to get the version are wrong, you need to go to the help menu → about → version

Thanks,
Andrew Wollack

Steps to Reproduce

Run cursor on windows, prompt the llm to do something that requires the terminal, fail

Operating System

Windows 10/11

Version Information

Version: 2.4.21 (user setup)
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100

Make the forum more obvious that you should use the copy button instead of typing the version number

For AI issues: which model did you use?

Opus 4.5

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

On the first bug (CLI install command): You’re right. The official CLI docs really do show only curl | bash even for Windows, with a note to use WSL. The IDE notification doesn’t seem to be adapted for native PowerShell. I’ll pass this to the team. This is a valid bug.

On the second issue (the agent uses bash in the first command): I’ve seen a few similar reports from Windows users. I need a bit more info to spot the pattern:

  • What’s your default terminal in Cursor Settings? (PowerShell 5 / PowerShell 7 / Git Bash)
  • Does this happen in every new agent chat, or only the first time after a restart?
  • Can you share an example of the bash command the agent is trying to run?

As a temporary workaround, you can add this to Cursor Rules:

When running terminal commands on Windows, always use PowerShell syntax (e.g., Copy-Item instead of cp, Remove-Item instead of rm).

But you shouldn’t need this. The agent should detect the environment automatically. Let me know your answers and I’ll help dig in.