I have cURL
installed on windows OS along with git
.
Now I have to update the cURL
version.
Following this link, I downloaded the cURL
latest version and added to the
environment variable of the system.
But still curl --version
gives me the previous version installed.How can I make new version to work out?
You can use where
on windows to find which version is being used.
WHERE curl.exe
You could fully qualify the specific cURL version you want to invoke, or remove the wrong version from PATH
.
Beware dumping everything in your PATH env variable - it's easier to set the path explicitly for the specific versions you want to use.
Try having a set_path.cmd file for each setup:
set PATH=[wherever_git_is];%PATH%
for when you want git and
set PATH=[other_curl];%PATH%
for when you want to use the other cURL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With