First of all to understand what is the curl command, what to use?
Linux curl is a file transfer tool that uses URL rules to work at the command line. It supports the uploading and downloading of files, so it is a comprehensive transmission tool, but traditionally, the URL is used as the download tool.
Curl is not a double-click to run, you need to use it at a command prompt
How to get to the command prompt
Click "Start"--"run"--input cmd
Or, win+r, enter cmd
After downloading my version of the curl, unpack the folder in such as: D:curl folder (Curl path)
Enter the "D:" entry in the Command Prompt window and enter "CD curl" to jump to the Curl folder.
You can now enter the Curl command (based on your curl analogy) or you can also add curl to the system environment variable how to add Curl folder to the system variable
Right-click "My Computer"--"properties"--"advanced"--"Environment variables"--
System variable--"Path"--"edit"--add ";D: Curl" (Note semicolon,
D:curl replaced by your Curl path)--"OK" is added to the system environment variable to run directly from the command prompt as
"Curl-o Http://curl.haxx.se/download/curl-7.19.5-win32-ssl-sspi.zip"
Such commands do not need to go into the Curl Folder Curl command usage!
Example Demo:
Curl is a common Linux distribution with a small tool, use this tool to easily download files, I generally use this tool to view the corresponding HTTP header information on a page, in the Windows system we can also use this tool, if you do not need to support HTTPS, Then download an executable file directly
The bottom of this page has a download link under Windows, please select the version without SSL,
Otherwise, you will need to install SSL support packs.
After decompression directly executes the Curl.exe can (if cannot run directly, please use the CMD to carry the path to execute Curl.exe program), if will change the file to put in the disk
C:curlcurl.exe. In the cmd console for C:curlcurl.exe--help
If you need to directly execute cmd curl, you can put the Curl.exe file into the C:windowssystem32 directory!