Try installing curl with the dev libraries:

sudo apt update &&
sudo apt upgrade &&
sudo apt install curl libcurl4-openssl-dev
Answer from Josh on Stack Overflow
🌐
Naverisk
kb.naverisk.com › all collections › naverisk general guides › how to install curl in windows.
How to install CURL in Windows. | Welcome to our Knowledge Base
December 31, 2025 - ... Find curl.exe within your downloaded package; it's probably under bin\. Pick a location on your hard drive that will serve as a permanent home for curl: Default path on versions of Windows with it already installed is C:\Windows\System32 ...
Discussions

Stack can't find curl (Windows 10)
This is looking for libcurl, not the curl binary. More on reddit.com
🌐 r/haskell
10
1
March 10, 2019
find_package: Could NOT find CURL
I have installed vcpkg in classic ... install curl. CMake cannot find the package, ostensiblu because it doesn't find the library: PS E:\cmake> cmake . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scrips/buildsystems/vcpkg.cmake -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find CURL ... More on github.com
🌐 github.com
8
November 14, 2022
windows - cmake: Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) - Stack Overflow
I'm on windows 10 and I want to use curlpp library. The building of curlpp depends on the availability of curl and curl is by default present in my system but when i try to run the cmake, it gives ... More on stackoverflow.com
🌐 stackoverflow.com
Curl not working Windows 10 cmd - Stack Overflow
I have installed Curl on Windows 10, 64 bit OS. Curl version is 7.57 and its path is C:\Program Files\curl-7.57.0\AMD64 I have copied the ca-bundle file to this location where curl.exe is present. More on stackoverflow.com
🌐 stackoverflow.com
People also ask

Does Windows 10 have cURL installed?
Yes, Windows 10 (version 1803 and later) and Windows 11 come with cURL pre-installed. Open Command Prompt or PowerShell and run `curl --version` to check. If it shows version info, cURL is ready to use. If you need a newer version or additional features, you can install a different version using one of the methods in this guide.
🌐
inventivehq.com
inventivehq.com › home › blog › how to › install curl on windows: 5 easy methods (2026 guide)
Install cURL on Windows: 5 Easy Methods (2026 Guide)
How do I update cURL to the latest version on Windows?
To update cURL on Windows: Using winget: `winget upgrade curl.curl`. Using Chocolatey: `choco upgrade curl`. For manual installations, download the latest version from curl.se/windows/ and replace your existing files. You can check your current version with `curl.exe --version`.
🌐
inventivehq.com
inventivehq.com › home › blog › how to › install curl on windows: 5 easy methods (2026 guide)
Install cURL on Windows: 5 Easy Methods (2026 Guide)
What is the difference between curl and curl.exe on Windows?
On Windows, 'curl' in PowerShell is actually an alias for Invoke-WebRequest (a PowerShell cmdlet), not the real cURL. To use the actual cURL command, type 'curl.exe' explicitly. In Command Prompt (cmd.exe), 'curl' runs the real cURL. This distinction matters because Invoke-WebRequest has different syntax and options than cURL.
🌐
inventivehq.com
inventivehq.com › home › blog › how to › install curl on windows: 5 easy methods (2026 guide)
Install cURL on Windows: 5 Easy Methods (2026 Guide)
Top answer
1 of 16
1271

You might already have curl

It is possible that you won't need to download anything:

  • If you are on Windows 10, version 1803 or later, your OS ships with a copy of curl, already set up and ready to use.

  • If you have Git for Windows installed (if you downloaded Git from git-scm.com, the answer is yes), you have curl.exe under:

     C:\Program Files\Git\mingw64\bin\
    

    Simply add the above path to PATH.

But curl may be a PowerShell alias to its own Invoke-WebRequest command. If that is the case, you can invoke actual curl as curl.exe, or remove the alias with rm alias:curl.

Installing curl with a package manager

If you are already using a package manager, it may be more convenient to install with one:

  • For Chocolatey, run choco install curl
  • For MSYS2, run pacman -S curl
  • For Scoop, run scoop install curl
  • For Cygwin, add the curl package in Cygwin Setup. EDIT by a reader: Cygwin installer design has changed, please choose curl packages as follows:

Installing curl manually

Downloading curl

It is too easy to accidentally download the wrong thing. If, on the curl homepage, you click the large and prominent "Download" section in the site header, and then the large and prominent curl-7.62.0.tar.gz link in its body, you will have downloaded a curl source package, which contains curl's source code but not curl.exe. Watch out for that.

Instead, click the large and prominent download links on this page. Those are the official Windows builds, and they are provided by the curl-for-win project.

If you have more esoteric needs (e.g. you want cygwin builds, third-party builds, libcurl, header files, sources, etc.), use the curl download wizard. After answering five questions, you will be presented with a list of download links.

Extracting and setting up curl

Find curl.exe within your downloaded package; it's probably under bin\.

Pick a location on your hard drive that will serve as a permanent home for curl:

  • If you want to give curl its own folder, C:\Program Files\curl\ or C:\curl\ will do.
  • If you have many loose executables, and you do not want to add many individual folders to PATH, use a single folder such as C:\Program Files\tools\ or C:\tools\ for the purpose.

Place curl.exe under the folder. And never move the folder or its contents.

Next, you'll want to make curl available anywhere from the command line. To do this, add the folder to PATH, like this:

  1. Click the Windows 10 start menu. Start typing "environment".
  2. You'll see the search result Edit the system environment variables. Choose it.
  3. A System Properties window will popup. Click the Environment Variables button at the bottom.
  4. Select the "Path" variable under "System variables" (the lower box). Click the Edit button.
  5. Click the Add button and paste in the folder path where curl.exe lives.
  6. Click OK as needed. Close open console windows and reopen, so they get the new PATH.

Now enjoy typing curl at any command prompt. Party time!

2 of 16
279

Assuming you got it from https://curl.haxx.se/download.html, just unzip it wherever you want. No need to install. If you are going to use SSL, you need to download the OpenSSL DLLs, available from curl's website.

🌐
Reddit
reddit.com › r/haskell › stack can't find curl (windows 10)
r/haskell on Reddit: Stack can't find curl (Windows 10)
March 10, 2019 -

Hi All,

I tried building a project I'd just added Scalpel as a dependency of and it says it can't find curl:

Configuring curl-1.3.8...

setup.exe: Missing dependency on a foreign library:

* Missing (or bad) C library: curl

This problem can usually be solved by installing the system package that

provides this library (you may need the "-dev" version). If the library is

already installed but in a non-standard location then you can use the flags

--extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the

library file does exist, it may contain errors that are caught by the C

compiler at the preprocessing stage. In this case you can re-run configure

with the verbosity flag -v3 to see the error messages.

The problem is I do have curl installed and it's on the path. Any insights?

🌐
GitHub
github.com › microsoft › vcpkg › issues › 27812
find_package: Could NOT find CURL · Issue #27812 · microsoft/vcpkg
November 14, 2022 - I have installed vcpkg in classic (not manifest) mode, in C:\VCPKG, and run vcpkg install curl. CMake cannot find the package, ostensiblu because it doesn't find the library: PS E:\cmake> cmake . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scrips/buildsystems/vcpkg.cmake -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.24/Modules/FindCURL.cmake:181 (find_package_handle_standard_args) CMakeLists.txt:4 (find_package) -- Configuring incomplete, errors occurred!
Author   microsoft
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 72630945 › cmake-could-not-find-curl-missing-curl-library-curl-include-dir
windows - cmake: Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) - Stack Overflow
The building of curlpp depends on the availability of curl and curl is by default present in my system but when i try to run the cmake, it gives the following output · -- Building for: Visual Studio 16 2019 -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19043.
🌐
Support Your Tech
supportyourtech.com › home › articles › how to install curl on windows 10: a step-by-step guide
How to Install Curl on Windows 10: A Step-by-Step Guide
May 16, 2025 - This usually happens if curl is not in your system’s PATH. Double-check your environment variable settings. Yes, curl is generally safe when downloading from the official site. Avoid downloading from untrusted sources. Download the curl executable. Unzip the downloaded file. Add curl to your system’s PATH. Verify the installation. Getting curl up and running on Windows 10 is akin to adding a Swiss Army knife to your digital toolkit.
🌐
InventiveHQ
inventivehq.com › home › blog › how to › install curl on windows: 5 easy methods (2026 guide)
Install cURL on Windows: 5 Easy Methods (2026 Guide)
January 24, 2026 - Alternatively, use Chocolatey: choco install curl after installing Chocolatey package manager. ... If you get 'curl is not recognized as an internal or external command', either cURL isn't installed, or it's not in your system PATH.
Address   2305 Historic Decatur Rd, Suite 100, 92106, San Diego
🌐
Zendesk Developer Docs
developer.zendesk.com › documentation › api-basics › getting-started › installing-and-using-curl
Installing and using curl | Zendesk Developer Docs
To learn more, see Working with JSON. You can use the Windows command prompt to run the curl examples. To start the command prompt, open the Start menu, type cmd in the search box, and press Enter. By default, curl isn't installed in Windows 10, version 1803 or earlier.
🌐
Reddit
reddit.com › r/askprogramming › how to use libcurl on clion on windows?
r/AskProgramming on Reddit: How to use libcurl on CLion on Windows?
June 11, 2021 - find_package(CURL REQUIRED) include_directories(${CURL_INCLUDE_DIR}) target_link_libraries(maptile ${CURL_LIBRARIES}) The same lines don't produce the same effect on Windows, however, as I get this error: Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Top answer
1 of 2
5

cURL on Windows

Skip to second section for more direct solutions

I have had a lot of issues with cURL on Windows. For example, and I realize your issue is likely much different than this, the following cURL command for RabbitMQ's HTTP API works great on Linux but does not work with the latest version of cURL on Windows 10.

curl -i -v -u root:root -H "content-type:application/json" -XPOST -d'{"vhost":"/","name":"amq.default","properties":{"delivery_mode":1,"headers":{}},"routing_key":"EMAIL","delivery_mode":"1","payload":"dasdfasdf","headers":{},"props":{},"payload_encoding":"string"}' http://localhost:15672/api/exchanges/%2f/amq.default/publish

I realize this might be a roundabout answer but I would do the following:

  1. In your start menu search for settings and click it
  2. Select Updates and Security
  3. Select For Developers
  4. Enabled Developer Mode

Once that is enabled restart your computer. Once the computer has started back up search for bash.exe. You now have access to an Ubuntu bash shell. Run cURL from there.

You can read more about this from here

More Direct solutions

If you don't want to do that I can think of two other things.

  1. Place the binary (exe) file in your root c:\ drive and then update your path variable to reflect the new location. Sometimes windows environment variables don't like spaces. Similarly you can just put quotes around it "C:\Program Files\curl-7.57.0\AMD64"
  2. If the above doesn't work, ,ake sure your path variable is set in system variables and not overridden in user variables by a path variable that doesn't include the location of your cURL binary file
  3. If it still doesn't work then put the path of the curl binary as the first entry in your path variable. I've also had windows path variable break when an entry before it was messed up... although I think that might have been fixed with windows 10.

Also, this is my personal preference, but I generally like to create create a new environment variable with the location. For example:

CURL     -     "C:\Program Files\curl-7.57.0\AMD64"

Then I append to the end of PATH a reference to the new CURL variable

%CURL%

I'm not saying this is necessary, just my preference. The double quotes will probably fix your issue though.

2 of 2
-1

Add -L to follow redirections:

curl -fL <URL>
🌐
Super User
superuser.com › questions › 1358665 › cmd-can-find-curl-but-where-does-curl-stores-its-path-on-windows
cmd can find curl but where does curl stores its path on windows - Super User
0 Does the where utility of Windows search only the system path, not the current terminal path? 0 SOLVED: why does my windows 10 user path show fully duplicated values from system path? 1 How to call programs from cmd directly without adding their paths to PATH variable on windows? 0 CMD/Powershell looking for "curl" executable in the wrong location despite PATH
🌐
Config Server Firewall
configserverfirewall.com › windows-10 › install-curl-windows-10
How to 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.
🌐
Server Fault
serverfault.com › questions › 1192949 › how-to-install-curl-library-for-php-on-windows
How to install cURL library for PHP on Windows? - Server Fault
September 22, 2025 - PHP's get_loaded_extensions() does not list cURL. So I figure, I might as well install a fresh version of cURL. So the main cURL page doesn't have binaries for Windows of course. So I eventually find my way to https://curl.se/download.html#Win64. Now I've gone through their documentation and they don't have anything about installing the binaries but they have information about building them.
🌐
CMake
cmake.cmake.narkive.com › b9mCDpdC › win32-unable-to-find-curl-library-with-find-library
[CMake] Win32: unable to find Curl library with FIND_LIBRARY
You don't need to modify FindCURL.cmake. Just add c:\Program Files\curl to CMAKE_LIBRARY_PATH and c:\Program Files\curl\include to CMAKE_INCLUDE_PATH in your CMakeLists.txt. Thanks to this suggestion and the previous one from Andreas Pakulat, I have now solved the problem.
🌐
CMake Discourse
discourse.cmake.org › usage
Problem with findpackage(CURL REQUIRED) and precompiled curl 7.68.0 for Windows - Usage - CMake Discourse
February 23, 2020 - Hi, I am using CMake 3.16.3 and having problems with the provided FindCurl.cmake script. I have unzipped the precompiled version downloaded from the curl website in a given location and set both CMAKE_PREFIX_PATH and CMAKE_MODULE_PATH to that location. CMake can locate the version and header files just fine, but fails with the library: Could NOT find CURL (missing: CURL_LIBRARY) (found version "7.68.0") I think it might be due to the fact that the precompiled package contains libcurl.a and l...
🌐
Dotlinux
dotlinux.net › blog › curl-command-not-found
Curl Command Not Found: Troubleshooting Guide for All Operating Systems
Windows historically lacked curl, but modern versions (Windows 10 1803+, Windows 11) include it by default.