windows安装 Chocolatey

前言

  • win7
  • win7 自带 powershell v2,需要升级 powershell 才能安装成功。

查看 powershell 版本

  1. 打开powershell
  2. 输入命令get-host

升级 powershell

参考:https://docs.microsoft.com/zh-cn/powershell/scripting/install/installing-windows-powershell?view=powershell-6#upgrading-existing-windows-powershell
windows安装 Chocolatey_第1张图片

安装 Chocolatey

如果升级了 powershell , 按照安装文档安装 Chocolatey 。
安装文档 https://chocolatey.org/install

安装测试

cmd> choco -v
0.10.15

你可能感兴趣的:(other)