/ docs / guides-and-tutorials / list-and-query.md
list-and-query.md
 1  ## List and query all the applications available on the database
 2  This section covers the procedures for consulting the lists of applications available in this database and on third-party ones.
 3  
 4  ### List
 5  Option `-l` or `list` shows the whole list of apps available in this repository and on third-party ones.
 6  
 7  This option uses `less` to show the list, so to exit its enough to press "**Q**".
 8  
 9  By default, only apps available on this repository are shown
10  ```
11  am -l
12  ```
13  https://github.com/user-attachments/assets/f020316f-711c-4086-8ba8-d611f7c7a03d
14  
15  To see only the AppImages from this list, use the `--appimages` flag
16  ```
17  am -l --appimages
18  ```
19  https://github.com/user-attachments/assets/7c52d373-78ae-4f8e-b053-d212ae84b55a
20  
21  To see only the programs available on the Toolpacks repository, add the `--toolpack` flag
22  ```
23  am -l --toolpack
24  ```
25  https://github.com/user-attachments/assets/cb20003d-02bc-419f-8ffe-80c17b915ea8
26  
27  To see all the programs available in all the supported databases, use the `--all` flag instead
28  ```
29  am -l --all
30  ```
31  https://github.com/user-attachments/assets/02d24f0c-0a7a-4c69-8463-59cf00e75cd1
32  
33  As you may have guessed, the lists are very long. However, you can use the `-q` or `query` option to search them, using the same flags. See below.
34  
35  ### Query
36  Option `-q` or `query` shows search results from the lists above.
37  
38  https://github.com/user-attachments/assets/1b2f3f3b-fe22-416f-94d8-d5e0465b3f6d
39  
40  ```
41  am -q {KEYWORD}
42  am -q --all {KEYWORD}
43  am -q --appimages {KEYWORD}
44  am -q --toolpak {KEYWORD}
45  am -q --pkg {PROGRAM1} {PROGRAM2}
46  ```
47  
48  If followed by `--appimages`, the search results will be only for the available AppImages from the "AM" database.
49  
50  If followed by `--pkg`, all keywords will be listed also if not on the same line. This is good if you are looking for multiple packages among the ones available in the "AM" database.
51  
52  If followed by `--toolpack`, the search results will be only for available programs from the "Toolpacks" database.
53  
54  If sollowed by `all`, the search results will be from all supported databases.
55  
56  ------------------------------------------------------------------------
57  
58  | [Back to "Guides and tutorials"](../../README.md#guides-and-tutorials) | [Back to "Main Index"](../../README.md#main-index) | ["Portable Linux Apps"](https://portable-linux-apps.github.io/) | [ "AppMan" ](https://github.com/ivan-hc/AppMan) |
59  | - | - | - | - |
60  
61  ------------------------------------------------------------------------