How do I install cURL on cygwin?

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

How do I install curl on cygwin?


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


In the Cygwin package manager, click on curl from within the "net" category. Yes, it's that simple.