Tuesday, November 18, 2025

Windows 10 - Upgrading to latest version of Curl for Developers



Windows  10 comes with it's own curl but seems to be behind on the curl updates. So I wanted manually update curl to latest version which is curl 8.17.0 at time of writing. 




 Get latest curl for Windows



Firstly, delete curl.exe at C:\windows\system32 and C:\Windows\SysWOW64, these were stuck at version 7.52.0. You'll need take ownership of the file, with your username.

Then find what default curl.exe is being used in the command line cmd.exe. 

Execute  where curl.exe














So, we see chocalatey is now the source of curl.exe command, it's 1st on the resultant list.

Upgrading chocalety, using following command
   
choco upgrade chocolatey
choco upgrade curl

Upgrade completed with proper shims. 

If you don't have chocalety, then you can manually copy files from curl 8.17.0 zip folder /bin copy these files: 

curl-ca-bundle.crt
curl.exe
libcurl-x64.def
libcurl-x64.dll
trurl.exe

to next directory in the list.

 And now curl is upgraded in cmd.exe when you launch it.

   
C:\Users\Markus>curl -V
curl 8.17.0 (x86_64-w64-mingw32) libcurl/8.17.0 LibreSSL/4.2.1 zlib/1.3.1.zlib-ng brotli/1.2.0 zstd/1.5.7 WinIDN libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.68.0 ngtcp2/1.17.0 nghttp3/1.12.0
Release-Date: 2025-11-05
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli CAcert HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL SSLS-EXPORT SSPI threadsafe UnixSockets zstd


No comments:

Post a Comment