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

Same “Exit Code 1” problem. And I found 3 solutions on Windows.

  1. Update PowerShell (7.5+)
  2. Set default profile to Git Bash
  3. Install WSL and set default profile to WSL

I wrote a post for more details.

1 Like