20+ years ago, Lindows had a great app store that let you create an “aisle” of your favorite apps so if/when you’d reinstall your OS, instead of searching and installing all your apps one-by-one, you’d just go to your aisle, click “install all” and boom.
Is there anything that exists like that today?
use your distros method of listing every installed package and modify it to be a install command