• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Isn’t that still just an alias for Invoke-WebRequest though?

    At least, I heard again of that being the case not too long ago. Might have also been outdated information, though…

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      No, MS has been “shipping” curl with Windows for ages, it’s just that legacy powershell has an alias for curl to their internal download module that predates the bundling. And they won’t change that because it has backwards compatibility risks.

      Upside is, it’s a literal alias. “curl” uses the internal module while “curl.exe” uses the normal app.

      Further upside, if you use the up to date version of powershell, that alias is gone as they removed it during the transition.