首页 > 技术文章 > windows_choco_chocolatey_包管理工具_用法指南

XUYICHENMO 2021-12-30 21:59 原文

安装(二选一)
1. 

iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

 


2. 

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

 

用法

choco search [something]
choco install [something]
choco uninstall [something]
choco upgrade [something]
choco list -li

 

推荐阅读