How do I install cURL on cygwin?

前端 未结 17 2090
夕颜
夕颜 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:53

    I just encountered this.

    1) Find the cygwin setup.exe file from http://cygwin.com/ and run it.
    2) Click/enter preferences until you reach the "Select Packages" window. (See image)
    3) Click (+) for Net
    4) Click the entry for curl. (Make sure you select the checkbox for the Binary)
    5) Install.
    6) Open a cygwin window and type curl.exe (should be available now).

    Cygwin package manager

提交回复
热议问题