My system is fully managed via ansible. After apt-get install new packages, I have to remember to add them to a certain ansible file.
Add the following script (ai.sh) to your shell rc file and install new packages with:
$ ai -y htop gitSee the python script below for reference or standalone usage.
Remember to change fname.