wget
是一个 Unix/Linux 环境中的命令行工具,Windows 系统默认并不提供 wget
命令。要在 Windows 下使用 wget
,需要进行额外的安装和配置。
- 从 GNU Wget for Windows 下载
wget.exe
文件。 - GNU Wget 1.21.4 for WindowsWindows version of wget, the non-interactive download tool
https://eternallybored.org/misc/wget/根据自己电脑的配置选择适应的版本
- 将
wget.exe
文件移动到C:\Windows\System32
。
- 打开新的命令提示符窗口,输入
wget
以确认安装成功。