Terminal fails in Composer on Windows (PowerShell exit code 1)

@datarm I have this problem as well.

I’d like to replicate your solution until Cursor team fix it.
Can you please elaborate on removing the cache and rules?