curl
In PowerShell, this command may be an alias of
Invoke-WebRequestwhen the originalcurlprogram (https://curl.se) is not properly installed.
- Check whether
curlis properly installed by printing its version number. If this command evaluates into an error, PowerShell may have substituted this command withInvoke-WebRequest:
curl --version
- View documentation for the original
curlcommand:
tldr curl -p common
- View documentation for the original
curlcommand in older versions oftldrcommand-line client:
tldr curl -o common
- View documentation for PowerShell's
Invoke-WebRequestcommand:
tldr invoke-webrequest