1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 06:46:00 +02:00
tldr/pages.zh/windows/choco-uninstall.md

24 lines
457 B
Markdown
Raw Normal View History

# choco uninstall
2019-10-18 11:30:29 +08:00
> 使用 Chocolatey 卸载一个或多个包.
2019-10-19 14:12:27 +08:00
- 卸载一个或多个用空格分隔的软件包:
2019-10-18 10:33:27 +08:00
`choco uninstall {{包名 『包名』 ..}}`
2019-10-19 14:12:27 +08:00
- 卸载一个指定版本的包:
`choco uninstall {{包名}} --version {{版本号}}`
2019-10-19 14:12:27 +08:00
- 自动确认所有提示:
`choco uninstall {{包名}} --yes`
2019-10-19 14:12:27 +08:00
- 卸载时同时删除其所有的依赖:
`choco uninstall {{包名}} --remove-dependencies`
2019-10-19 14:12:27 +08:00
- 卸载全部包:
`choco uninstall all`