Hacker News new | ask | show | jobs
by progre 929 days ago
I'm surprised that they don't just use Invoke-Webrequest from PowerShell.

That has to be good enough since Microsoft insists on having "curl" as an alias for Invoke-Webrequest.

1 comments

This hasn't been the case for years. Only in old versions of windows powershell.

Also, this is about the library libcurl, not a command line program that uses the library.

It's still there in the powershell 5 witch is still the default in Windows 10
Windows' Powershell is in fact an old version that they still ship because it's the last one compatible with .NET Framework. Newer versions must be installed separately (so they've ironically had more adoption in Linux).

But curl.exe should still bring the actual curl, I think.