Install and Configure cURL on Windows

How to install and configure cURL on windows for DOS?

Problem configuring cURL on windows? Download cURL library or alternative download for win 7 64 bit. Click and run setup, it will install all software and certificates automatically in 
C:\Users\Name\AppData\Local\Apps\cURL folder.

If everything worked then you need only to setup environment variable to use it from command prompt. Follow these steps to configure.

Right click on Computer->Advanced system settings->Advanced Tab->Environment Variables->System Variables->Path->Edit->Variable value

Now paste here full path of curl.exe just adding a `;` in last

e.g. %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Then paste in last like this

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Users\Anamika\AppData\Local\Apps\cURL\bin\curl.exe;

Now open command prompt ant type curl you will see something like this

curl:  try 'curl --help' or 'curl --manual' for more information.

That's it.


No comments: