Installing cURL in Windows to Run cURL Commands Natively is actually quite easy process,a starter might find it difficult. Here is Guide to run cURL in Windows. In this context, it is important to know What is cURL and what are the uses.
Points to Know Before Installing cURL in Windows to Run cURL Commands
This tutorial for Installing cURL in Windows to Run cURL Commands basically uses native Windows Command Line Tool. So, there is no Syntax Highlighting.
This is a noteworthy point as after Installing cURL in Windows to Run cURL Commands, you will find that lot of weblogs and websites are showing screenshots with Syntax Highlighting. Most of them are using Linux or Mac, not Windows.
Steps for Installing cURL in Windows to Run cURL Commands
First Download cURL for Windows , its a compressed folder with an exe file. Please Select Win32 and Generic from the download Wizard.
Optional Add On : Some websites might need a secured environment, install Open SSL by following this link. Microsoft Visual C++ 2008 Redistributable Package will be needed, you can install it from Microsoft’s website, its free.
Most users get stuck in the important next step of Installing cURL in Windows. Actually we need not be Installing cURL in Windows. If you double the exe that is inside the cURL package, nothing will happen. So follow the steps for Installing cURL in Windows or rather using cURL :
- Uncompress it and give the folder a good name like curl. You can place it anywhere, like we will show the usage when the folder is on desktop.
- Now click Start menu and type cmd and run Windows Command Line Tool.
- By default it will open in folder C:UsersUsername , but we need to go to desktop’s that cURL folder. So I used CD command :
And I hit Enter on keyboard. Now I am in curl folder :
Then I typed curl.exe and hit Enter :
This was my expected output. So I have successfully ended the guide for Installing cURL in Windows to Run cURL Commands. To cross check, I will run a curl command, which will fetch the HTML of the page :
I have rightly done Installing cURL in Windows to Run cURL Commands. Easy.