How do I install cURL on cygwin?

前端 未结 17 2100
夕颜
夕颜 2020-12-02 05:23

I tried to enable curl on cygwin but it says bash: curl: command not found

How do I install curl on cygwin?

17条回答
  •  一向
    一向 (楼主)
    2020-12-02 05:50

    In order to use the command-line version of curl, you need the curl executable. So, run the Cygwins Setup.exe, and select curl (under Net->curl). That one uses libcurl3, which is located in Libs->libcurl3. But libcurl3 will be pulled in as a dependency if it's not already installed. So, just select Net->curl and you're good to go.

提交回复
热议问题