599 B
599 B
curl
在 PowerShell 中,当原始的
curl
程序 (https://curl.se) 未正确安装时,此命令可能是Invoke-WebRequest
的别名。 更多信息:https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest。
- 查看原始
curl
命令的文档:
tldr curl -p common
- 查看 PowerShell 的
Invoke-WebRequest
命令的文档:
tldr invoke-webrequest
- 通过打印其版本号来检查
curl
是否已正确安装。如果此命令返回错误,PowerShell 可能已用Invoke-WebRequest
替换此命令:
curl --version