小编sha*_*123的帖子

无法从 Windows 命令提示符运行curl 命令,但可以从 cygwin 驱动器运行它

当我从 Windows 命令提示符运行命令时: sh ./abc.sh

出现以下错误:

curl: option --compressed: the installed libcurl version doesn't support this
curl: try 'curl --help' for more information
Run Code Online (Sandbox Code Playgroud)

我可以从 cygwin 驱动器运行相同的命令。

如何运行与从 Windows 命令提示符运行相同的命令?

其中,curl 上的命令给出以下结果:

>where curl
C:\Windows\System32\curl.exe
C:\cygwin64\bin\curl.exe
Run Code Online (Sandbox Code Playgroud)

windows curl cygwin

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

curl ×1

cygwin ×1

windows ×1