包仓库:https://chocolatey.org/packages
命令
- list - 列出远程或本地包
- search - 搜索远程或本地包(列表的别名) (alias for list)
- info - 检索包信息。choco搜索的简写pkgname --exact --verbose
-
install - 从各种来源安装包
choco install gradle
- pin - 抑制包的升级
- outdated - 检索过时的包。类似于upgrade all --noop
- upgrade - 从各种来源升级包
-
uninstall - 卸载软件包
choco uninstall gradle -y --remove-dependencies
- pack - 将nuspec打包到已编译的nupkg
- push -推送编译的nupkg
- new - 从模板生成chocolatey package所需的文件
- sources - 查看和配置默认源(源的别名) (alias for source)
- source - 查看和配置默认源
- config - 检索并配置配置文件设置
- unpackself - have chocolatey set itself up
-
version - [DEPRECATED] will be removed in v1 - use
choco outdated
orcup <pkg|all> -whatif
instead - update - [DEPRECATED] RESERVED for future use (you are looking for upgrade, these are not the droids you are looking for)
- support - 提供支持的信息
- download - 下载包 - 可选择内化所有远程资源
- synchronize - 与系统安装的软件同步 - 生成缺少的包
- sync - 与系统安装的软件同步 - 生成缺少的软件包
- optimize - 优化安装,减少空间使用