How do I install cURL on cygwin?

Drew LeSueur picture Drew LeSueur · Sep 5, 2010 · Viewed 193.6k times · Source

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

How do I install curl on cygwin?

Answer

ibaralf picture ibaralf · Sep 26, 2011

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