Install the Cursor CLI on Windows
getting started
// what it does
On native Windows (PowerShell, not WSL) the installer is fetched with irm and piped to iex. The win32=true query flag tells the install endpoint to serve the Windows build. Config then lives at $env:USERPROFILE\.cursor\cli-config.json instead of ~/.cursor.
// shell
$ irm 'https://cursor.com/install?win32=true' | iex// gotcha
Inside WSL use the macOS/Linux curl command, not this one — the PowerShell installer drops a Windows .exe that WSL's Linux shell cannot run.