2019-03-10 13:31:21 +00:00
|
|
|
# choco outdated
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
> 使用 Chocolatey 检查过时的包。
|
2021-10-01 19:28:01 +01:00
|
|
|
> 更多信息:<https://chocolatey.org/docs/commands-outdated>.
|
2019-03-10 13:31:21 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 用表格的形式列出过时的包:
|
2019-03-10 13:31:21 +00:00
|
|
|
|
|
|
|
`choco outdated`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 忽略输出中的固定包:
|
2019-03-10 13:31:21 +00:00
|
|
|
|
|
|
|
`choco outdated --ignore-pinned`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 从自定义的源处检查过时的包:
|
2019-03-10 13:31:21 +00:00
|
|
|
|
2019-10-18 03:33:27 +01:00
|
|
|
`choco outdated --source {{源 URL|别名}}`
|
2019-03-10 13:31:21 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 提供一个用户名和密码来进行验证:
|
2019-03-10 13:31:21 +00:00
|
|
|
|
2020-02-05 11:42:42 +00:00
|
|
|
`choco outdated --user {{用户名}} --password {{密码}}`
|