Saturday 10 May 2014

Download and Install cURL on Windows

Introduction to cURL

As per Wiki

cURL is a computer software project providing a library and command-line tool for transferring data using various protocols. The cURL project produces two products, libcurl and cURL. It was first released in 1997.

In this post we will see how do we install this tool and use it to perform some common HTTP requests like GET.

Installing cURL on Windows

  1. Go to curl Download Wizard
  2.  Select curl executable
  3. Select Win32 or Win64
  4. Then select package for it(Eg generic/cygwin) as per your requirement
  5. Then you will have to select version. You can select unspecified.
  6. This will directly take you to download link which on click will give you popup to download the zip file.
  7. Extract the zip to get the executable.(I have put the executable in C:\Curl
  8. Add this folder in your environment variables and you are done.

  9. You can then execute curl command from cmd.








PS : I had some problems with proxy. Though I don't have one cURL seems to pick it from somewhere. I was using that proxy about a year ago and have not used since. Not sure where cURL picks this confog from. But as a workaround I have use

curl --noproxy * websiteURL


This will essentially disable proxy. But you may not have to do so.

For more reading on various practical usages of curl command you may refer to

15 Practical Linux cURL Command Examples

Important Links

t> UA-39527780-1 back to top