Not sure if this is the best place for the question but I have multiple development projects with different dependencies.. I want to know what the best practice is to isolate each project?
I have many unrelated projects that a designed and updated on my laptop but I typically push them to a rPi or VMs (esxi). I would like to isolate the various projects so its easier to track which dependencies belong to which project and to stop the OS from having libs and other deps that aren't needed after a project is 'completed'. I do code some for work but its largely a hobby helping neighbors and the local SPCA.
What I use: I typically program on a Debian box or Windows 10 depending on what I need to accomplish. I program in Java, Python, and the typical web stuff (jscript, html, css).. Bash and Powershell if you consider either programming too. Version control is done via Gitlab.