Run cURL commands from Windows console
Solution 1:
Download cURL for Windows from here (and be sure to select it from Win32 - Generic way down on the page).
Then place it in a directory inside your PATH environment variable (ie: C:\Windows\System32
) or run it with its full path preceding the executable name.
If you place it in a directory that's inside your PATH, make sure to close and then reopen command prompt to make the command available.
Solution 2:
If you install Git for Windows you get Curl automatically too. There are some advantages:
- Git takes care of the
PATH
setup during installation automatically. - You get the GNU bash, a really powerful shell, in my opinion much better than the native Windows console.
- You get many other useful Linux tools like tail, cat, grep, gzip, pdftotext, less, sort, tar, vim and even Perl.
Solution 3:
After installing OpenSSL Light, restart Windows, open Command Prompt, then do a test command like:
curl http://www.google.com
If you get HTML tags back, it worked.