good evening dear community

first of all - i hope youre well and eveything goos all right at your site.

well in the last weeks i mused about a new install - and that said - i think it would be pretty useful to get an overview on the old install.

well: How to list all installed packages

I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system. How would I do this?

is it possible - to output the result into a text file:

Code:
    ── lib
        └── installed. pkgs      
            ├── foo
            ├── bar 
            └── bla
hmmm - i look forward to hear from you