How to Use curl in Windows PowerShell? Need Help Getting Started! or Why Isn't curl Working in Window

14 Replies, 1423 Views

Dude, just use `iwr` (Invoke-WebRequest) instead of fighting with curl in PowerShell. It’s built for this shell and way less finicky.

But if you’re stubborn like me, here’s a hack:
```
$envTongueath += ";C:\path\to\curl\bin"
```

Then curl.exe will work properly. Also, this StackOverflow thread saved me: [curl windows powershell fixes](https://example.com/so-curl).

Messages In This Thread



Users browsing this thread: 1 Guest(s)