tinfoil-hat
Well-Known Member
Hi, lets say I install Distrobox. And inside that Distrobox I install some AI Agents via curl that require a ton of npm packages. Are all npm Packages and changes to the OS deleted, if I delete the Distrobox?
Yes and no.Hi, lets say I install Distrobox. And inside that Distrobox I install some AI Agents via curl that require a ton of npm packages. Are all npm Packages and changes to the OS deleted, if I delete the Distrobox?
so to simplify it:Yes and no.
See:
- If you install npm and their packages "global", with sudo in the distrobox, that would target a target directory such as "/usr/", yes. That goes in a volume attached to the container that will get disposed when you delete the container.
- If you install npm and their packages in the user directory, no. Distrobox will use your user directory on the host's filesystem: it doesn't use a separate volume for the user files, unless you specify the creation of a separate volume for your home directory.