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