build and install curl from source
https://curl.se/docs/install.htmlhow to install curl and libcurl Installing Binary Packages. Lots of people download binary distributions of curl and libcurl. This document does not describe how to install curl or libcurl using such a binary package. This document describes how to compile, build and install curl and libcurl from source code. Building using vcpkg