tldr/pages.zh/windows/scoop.md

36 lines
511 B
Markdown
Raw Normal View History

2019-03-11 12:31:10 +00:00
# scoop
2019-10-18 04:30:29 +01:00
> Windows 的命令行安装程序.
2019-03-11 12:31:10 +00:00
2019-10-19 07:12:27 +01:00
- 安装一个包:
2019-03-11 12:31:10 +00:00
`scoop install {{包名}}`
2019-10-19 07:12:27 +01:00
- 删除一个包:
2019-03-11 12:31:10 +00:00
`scoop uninstall {{包名}}`
2019-10-19 07:12:27 +01:00
- 更新所有已安装的包:
2019-03-11 12:31:10 +00:00
`scoop update *`
2019-10-19 07:12:27 +01:00
- 列出所有已安装的包:
2019-03-11 12:31:10 +00:00
`scoop list`
2019-10-19 07:12:27 +01:00
- 显示一个包的信息:
2019-03-11 12:31:10 +00:00
`scoop info {{包名}}`
2019-10-19 07:12:27 +01:00
- 搜索一个包:
2019-03-11 12:31:10 +00:00
`scoop search {{包名}}`
2019-10-18 03:33:27 +01:00
- 列出所有已知的桶 (“桶”代表程序的仓库):
2019-03-11 12:31:10 +00:00
`scoop bucket known`
2019-10-19 07:12:27 +01:00
- 通过别名或 Git 存储库 URL 添加存储桶:
2019-03-11 12:31:10 +00:00
`scoop bucket add {{bucket}}`