apk-list(8)
apk list - list packages matching a pattern or other criteria
apk list [<options>...] pattern...
apk list searches package indicies for packages matching the given patterns and prints any matching packages.
The patterns are matched with fnmatch(3), which behaves similarly to shell globbing.
-a, --available Consider only available packages.
-d, --depends List packages by dependency.
-I, --installed Consider only installed packages.
--manifest
List installed packages in format <name> <version>
.
-o, --origin List packages by origin.
-O, --orphaned Consider only orphaned packages.
-P, --providers List packages by provider.
-u, --upgradable, --upgradeable Consider only upgradable packages.