Remove curl alias from PowerShell

PowerShell aliases curl to Invoke-WebRequest by default. To use the actual curl binary, remove the alias in the profile.

Create a PowerShell profile if none exists:

New-Item $profile -force -itemtype file

Edit the profile:

notepad $profile

Add this line:

remove-item alias:curl

Apply changes by restarting PowerShell, or reload the profile:

. $profile