Use this "cat /var/log/apt/history.log |grep install| awk '{print $4}' > my-apps.txt" Got a nice little list of all the apt install commands run.