下载地址
下载文件 https://curl.haxx.se/windows/
解压缩后,在将 \bin路径加入到windows的环境变量。
测试使用
C:\Users\Administrator>curl -I http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Fri, 12 Jul 2019 09:27:14 GMT
Etag: "575e1f72-115"
Last-Modified: Mon, 13 Jun 2016 02:50:26 GMT
Pragma: no-cache
Server: bfe/1.0.8.18