Install cURL Command on Windows 10

The cURL command-line utility comes installed in most Unix Like operating systems, including Linux and  Mac OS. But, the cURL command is not available on Microsoft Windows by default.

To get cURL for Windows 10, we will use git bash shell which provides useful unix command line tools for Windows. This is the easiest way to install cURL on Windows 10.

First, Got to URL and download the latest version of git for Windows.

After Download is finished, Run the git installer and install git with the default Options.

After the installation is finished, Open the Git Bash from the Windows 10 start menu. On the Git Bash shell Type:

curl --help

This will Print all the different command line options you can use in Windows cURL command.

Install cURL Command on Windows 10

Windows cURL Command Examples

Access URL and Dump Data to the Shell:


Access URL and Save data to  an Output File.

curl -o example.html

Download ZIP File.

curl -O

Download Files From the FTP Server:

curl -u username:password -O

Upload Files to FTP Server:

curl -u username:password -T file1.txt

You can also use this guide to install cURL in windows 7 and Microsoft Windows Server 2016.