choco list -e <package> -a
Run Code Online (Sandbox Code Playgroud)
-e, --精确
仅返回具有此确切名称的包。
巧克力列表 --by-id-only [包] -a
--by-id-only
只返回 id 包含搜索过滤器的包。
小智 7
现在是choco search -e packagename -a.
-e是“确切名称”,-a是“全部”。
旧方法不再适用:
PS C:\Users\user> choco list -e python -a
Chocolatey v2.2.2
Invalid argument -a. This argument has been removed from the list command and cannot be used.
PS C:\Users\user> Choco list python --all
Chocolatey v2.2.2
Invalid argument --all. This argument has been removed from the list command and cannot be used.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4174 次 |
| 最近记录: |