The list command of the winget tool displays a list of the applications currently installed on your computer. The list command will show apps that were installed through the Windows Package Manager as well as apps that were installed by other means.
The list command will also display if an update is available for an app, and you can use the upgrade command to update the app.
The list command also supports filters which can be used to limit your list query.
Aliases
The following aliases are available for this command:
ls
Usage
winget list [[-q] <query>] [<options>]
Lưu ý
If you want to list all apps with available updates use winget upgrade (without any arguments).
Arguments
The following arguments are available.
Argument
Description
-q,--query
The query used to search for an app.
Lưu ý
The query argument is positional. Wild-card style syntax is not supported. This is most often the string of characters you expect to help find the installed package you are searching for.
Options
The options allow you to customize the list experience to meet your needs.
Option
Description
--id
Limits the list to the ID of the application.
--name
Limits the list to the name of the application.
--moniker
Limits the list to the moniker listed for the application.
-s, --source
Restricts the list to the source name provided. Must be followed by the source name.
--tag
Filters results by tags.
--cmd, --command
Filters results by command specified by the application.
-n, --count
Limits the number of apps displayed in one query.
-e, --exact
Uses the exact string in the list query, including checking for case-sensitivity. It will not use the default behavior of a substring.
--scope
Select installed package scope filter (user or machine).
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Ý kiến phản hồi về Windows developer
Windows developer là một dự án nguồn mở. Chọn liên kết để cung cấp ý kiến phản hồi:
Optimice la instalación y el mantenimiento del software en el equipo mediante el Administrador de paquetes de Windows. Explicar los componentes y comandos de front-end, el repositorio del Administrador de paquetes de Windows y cómo contribuir al repositorio.