尝试从命令行 运行 cURL(xampp/windows 环境)

Trying to run cURL from command line (xampp/windows environment)

我已经在我的 Windows 机器上安装了 XAMPP 并启用了 cURL,如我的 phpinfo() 文档中所示。

我正在尝试直接从我的命令行 运行 cURL - 我知道如何将路径添加到系统环境但是 cURL.exe 位于何处或者我是否遗漏了一个步骤?

cURL 是一个库。

PHP 有绑定,XAMPP 有绑定。

XAMPP 不附带使用该库的命令行实用程序。您需要单独安装它。

cURL homepage 链接到 Windows 版本。

2 完全不同的东西,在您的 PHP 中您只能使用本手册中描述的 curlPHP CURL
On Windows OS, to use curl in command line you have to download and install/deploy curl package from this url CURL Windows Command