admin管理员组文章数量:1130349
文章目录
- 1.安装chocolatey
- 2.安装wget
1.安装chocolatey
以管理员身份运行cmd,安装chocolatey:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
此时报错:
解决方案:
直接打开网址:https://chocolatey/install.ps1
右键另存为install.ps1文件(相当于下载install.ps1)
以管理员运行cmd,切换到下载的install.ps1所在目录,运行下面代码:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
输入choco,检查是否安装成功:
2.安装wget
输入:choco install wget,进行安装:
这里老是报错“操作超时”,应该是网速的关系,多安装几次就好了
使用 wget -V 检查是否安装成功:
此时已经安装好了。
文章目录
- 1.安装chocolatey
- 2.安装wget
1.安装chocolatey
以管理员身份运行cmd,安装chocolatey:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
此时报错:
解决方案:
直接打开网址:https://chocolatey/install.ps1
右键另存为install.ps1文件(相当于下载install.ps1)
以管理员运行cmd,切换到下载的install.ps1所在目录,运行下面代码:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
输入choco,检查是否安装成功:
2.安装wget
输入:choco install wget,进行安装:
这里老是报错“操作超时”,应该是网速的关系,多安装几次就好了
使用 wget -V 检查是否安装成功:
此时已经安装好了。
版权声明:本文标题:win10安装wget及“未能创建SSLTLS安全通道”解决方案 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/jiaocheng/1754934064a2743013.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论