windows10 64位安装wget

能百度到的方法都尝试了,并不成功。最后在这里看到

https://stackoverflow.com/questions/37939601/wget-for-windows-10


步骤:

1、以管理员身份运行cmd

2、C:\WINDOWS\system32>

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"


3、C:\WINDOWS\system32>

choco install wget


安装完毕

如果想更新,就输入

C:\WINDOWS\system32>

choco upgrade wget


猜你喜欢

转载自blog.csdn.net/ciyiquan5963/article/details/78032042