curl is not an internal or external command, nor an executable program or batch file

Use the curl command under windows; install curl on windows; execute the curl command on the cmd terminal and report an error

'curl' is not an internal or external command, an executable program or batch file.

  • Operating system Windows 7

  • Download  curl 7.72.0 for Windows
  • https://curl.se/windows/
  • Unzip it to the directory and add environment variables (Computer-Properties-Advanced-Environment Variables-Edit and append the absolute path of the bin directory under curl to the variable value of the environment variable Path)
;D:\Program Files\curl\bin

Re-open the cmd window, enter it  curl -V, and prompt the version information of curl to install successfully.

 

https://www.cnblogs.com/sirdong/p/13541284.html

Guess you like

Origin blog.csdn.net/qq_27009517/article/details/112826219