ROCEYS's Archives

WIN10如何安装cURL

1803版本自带cURL工具

从Windows 10 1803版本开始,操作系统自带了 cURL 的副本。它已经设置完毕,您可以立即开始使用它。打开CMD命令提示符,然后键入“curl -help”。 如果没有错误,并显示curl的所有选项,说明已经安装在你的Windows 10上了。

防火墙

错误curl: (7) Failed to connect to api.remove.bg port 443: Bad access 
需要开启   
The curl executable | C:\windows\system32\curl.exe | Out | 9939 | 443 | 6

错误curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - 由于吊销服务器已脱机,吊销功能 无法检查吊销。
需要开启
Local Security Authority Process | C:\windows\system32\lsass.exe | Out | 10063 | 80 | 6

其它

curl: (26) couldn't open file
文件名必须为绝对路径

除了Curl之外,微软还推出了 Tar ,这是一个用于提取文件和创建档案的命令行工具。