pypa / pipx

Install and Run Python Applications in Isolated Environments
https://pipx.pypa.io
MIT License
9.51k stars 396 forks source link

How to delete temporary environment of pipx run? #1468

Closed Saya47 closed 4 days ago

Saya47 commented 5 days ago

After I run an app how can I remove the temporary environment it has created without restarting my system? If I run multiple apps, each will have their own temp env's so the system can get cluttered fast when you test a lot of apps, it would be nice to have an option to delete them at once! Thanks very much!

dukecat0 commented 5 days ago

Running this command would remove all the caches: rm -rf $(pipx environment -V PIPX_VENV_CACHEDIR)