find programs installed linux code example
Example 1: choco list installed
$ choco list --localonly
Example 2: list apt installed programs
# Use aptitude to get packages which were expressly installed (not just as dependecies)
aptitude search '~i!~M'