windows10 安装 choco
以管理员身份运行Powershell:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
已经完成安装,后面可以用choco命令安装软件了。
如,安装最新版git
choco upgrade git -y
以管理员身份运行Powershell:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
已经完成安装,后面可以用choco命令安装软件了。
如,安装最新版git
choco upgrade git -y