How To Check if Curl Is Installed

By default, curl is not installed in Windows. However, you can check if it is installed by following these steps:

Open the Command Prompt by pressing the Windows key + R, typing "cmd" in the Run dialog box, and hitting Enter.

In the Command Prompt, type "curl --version" and press Enter.

If curl is installed, you should see the version number and other information about the installation. If it is not installed, you will see an error message that says "'curl' is not recognized as an internal or external command, operable program or batch file."

If you get the error message, Download the cURL executable for Windows from the official website https://curl.se/windows/.

Extract the contents of the downloaded ZIP file to a folder of your choice, for example, C:\curl.

Add the folder where you extracted cURL to your system's PATH environment variable. To do this, follow these steps:

a. Press the Windows key + Pause/Break key to open the System Properties window.

b. Click on the "Advanced system settings" link.

c. Click on the "Environment Variables" button.

d. Under "System Variables", scroll down and find the "Path" variable, and click on the "Edit" button.

e. Click on the "New" button and add the path to the folder where you extracted cURL (e.g., C:\curl).

f. Click "OK" to close all the windows.

Open a command prompt or PowerShell window, and type curl to test if it is working. You should see the cURL version information displayed.

That’s it! You have successfully enabled cURL on your Windows system.