我在让cURL在Windows上运行时遇到了麻烦。
我已经从这里下载了一个cURL zip文件,但它似乎包含源代码,而不是可执行文件。
我需要编译cURL来运行它吗?如果是,那么我该怎么做?
我在哪里可以找到cURL的.exe下载?
我已经寻找了关于安装cURL的文档,但是几乎找不到。
我在让cURL在Windows上运行时遇到了麻烦。
我已经从这里下载了一个cURL zip文件,但它似乎包含源代码,而不是可执行文件。
我需要编译cURL来运行它吗?如果是,那么我该怎么做?
我在哪里可以找到cURL的.exe下载?
我已经寻找了关于安装cURL的文档,但是几乎找不到。
当前回答
从https://curl.haxx.se/windows/下载curl for windows 解压后,你会发现..\bin\curl.exe 添加……\bin\到您的路径变量,方便全局访问
其他回答
Download curl zip Extract the contents (if you have downloaded the correct version you should find curl.exe) Place curl.exe in a folder where you keep your software (e.g. D:\software\curl\curl.exe) To run curl from the command line a) Right-hand-click on "My Computer" icon b) Select Properties c) Click 'Advanced system settings' link d) Go to tab [Advanced] - 'Environment Variables' button e) Under System variable select 'Path' and Edit button f) Add a semicolon followed by the path to where you placed your curl.exe (e.g. ;D:\software\curl)
现在你可以在命令行中输入:
curl www.google.com
只需下载curl并解压压缩文件。你会得到“curl.exe”文件。打开一个CMD Shell,将文件curl.exe拖到CMD Shell中,现在您可以使用curl了。
还要注意,从Git -scm.com安装Git for Windows也会安装Curl。然后,您可以从Git为Windows的BASH终端(不是默认的Windows CMD终端)运行Curl。
我正在寻找Curl的下载过程,他们说在System32中复制Curl .exe文件,但他们没有提供直接链接。好了,在bin文件夹中找到curl。exe
解压它,然后去bin文件夹,你得到exe文件
链接下载curl通用型
为Windows安装Chocolatey包管理器。安装后,只需输入choco install curl即可。然后你可以在终端上使用curl。