chocolatey使用
安装
使用管理员权限打开CMD,输入:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
或管理员权限打开PowerShell
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
检查安装是否成功
choco -v
升级Chocolatey
choco upgrade chocolatey
Chocolatey的使用
常用功能如下:
choco search
choco install
choco upgrade
choco uninstall
choco list --local-only