---
title: "How to install and use cURL on Windows?"  
description: "How to install and use cURL on Windows?"  
author: "Utpal Vishwas"  
published: 2023-07-14  
updated: 2023-07-15  
canonical: https://www.mindstick.com/forum/159101/how-to-install-and-use-curl-on-windows  
category: "windows controls"  
tags: ["windows", "url"]  
reading_time: 3 minutes  

---

# How to install and use cURL on Windows?

How to [install](https://www.mindstick.com/articles/12876/the-top-5-reasons-to-buy-and-install-a-tonneau-cover) and use cURL on [Windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer)?

## Replies

### Reply by Aryan Kumar

Sure, here are the steps on how to install and use cURL on Windows:

## Step 1: Download cURL

You can download cURL from the cURL website: https://curl.se/download.html. There are two versions of cURL available for Windows: a 32-bit version and a 64-bit version. You need to download the version that is compatible with your Windows installation.

## Step 2: Extract the cURL files

Once you have downloaded the cURL files, extract them to a folder of your choice. The extracted files will include a `curl.exe` file, which is the cURL command-line executable.

## Step 3: Add cURL to your PATH environment variable

In order to be able to run cURL from the command prompt, you need to add the `curl.exe` file to your PATH environment variable. To do this, follow these steps:

1. Open the Windows **System Properties** dialog box.
2. Click on the **Advanced** tab.
3. Click on the **Environment Variables** button.
4. In the **System Variables** section, select the `Path` variable.
5. Click on the **Edit** button.
6. In the **Edit Environment Variable** dialog box, add the path to the folder where you extracted the cURL files to the end of the `Path` variable. For example, if you extracted the cURL files to the `C:\curl` folder, you would add `C:\curl` to the end of the `Path` variable.
7. Click on the **OK** button to save your changes.

## Step 4: Use cURL

Now that you have installed and configured cURL, you can use it from the command prompt. To do this, open a command prompt and type the following command:

```plaintext
curl <url>
```

For example, to curl the website www.google.com: https://www.google.com, you would type the following command:

```plaintext
curl https://www.google.com
```

This will download the contents of the website and display them in the command prompt.

Here are some of the most common cURL commands:

- `curl -v` will display verbose output, which can be helpful for debugging.
- `curl -o <file>` will save the output of the curl command to a file.
- `curl -u <username>:<password>` will use the specified username and password to authenticate to a website.
- `curl -X <method>` will use the specified HTTP method to make the request. For example, to make a POST request, you would use the `-X POST` option.

For more information on cURL, you can refer to the cURL documentation: https://curl.se/docs/manpage.html.


---

Original Source: https://www.mindstick.com/forum/159101/how-to-install-and-use-curl-on-windows

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
