I want to be able run apps and tools in containers or virtual environments.
When working with python projects for example, i always make a virtual environment and that helps keep things clean (i.e. once i delete the virtual environment there is no sign of the app).
I am not asking for how to sandbox apps, security is not my concern, instead I want to be able to delete everything connected to that app when I don't want it anymore.
Things I have thought about:
Install apps with
brewwhenever possible (i believe that
brew uninstallcleans properly).
Run apps from their DMG file without copying to
/Applicationsdirectory (I don't know if this actually helps with anything).
Use the AppCleaner app, (I am using it currently) which is not bad but is solving the symptoms rather than the cause.
After some months of usage I always find my Mac full of useless stuff, not documents nor personal data but apps, tools like IDE, compiler, a one-time app. So I ended up doing a clean format.