Install using curl command under Windows

  1. go to download , curl
  2. After downloading, unzip it to the folder, I unzip D:\Curlit, as shown in the figure
    write picture description here
  3. Enter the src directory, you can findcurl.exe
    write picture description here
  4. Next, open CMD, enter the src folder, and execute curl localhost:9200
    Note: The 9200 port here is because I started Elasticsearch
    write picture description here
    . At this point, we can already use the curl command. Just enter the src directory every time you use it. Next, we configure the environment variable
    5. Increase the CURL_HOME environment variable and add to the PATH environment variable D:\Curl\src;
    write picture description here
    write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325526974&siteId=291194637