-
Notifications
You must be signed in to change notification settings - Fork 489
Description
How would this feature be useful?
When using pipx run PACKAGE, I encountered a situation where the cached package was corrupted, causing the command to fail. Currently, there's no straightforward way to clear the cache (only removing the folder manually), which can be frustrating for users who aren't familiar with pipx's internal storage paths. A dedicated command would make this process easier.
Describe the solution you'd like
I'd like to see a new command such as pipx cache erase or pipx clear-cache that safely removes all cached packages. This would allow users to reset the cache without manually deleting files or directories.
Describe alternatives you've considered
The only workaround I found was manually locating and deleting the cache directory.