Apps

uv Unused Packages

uv keeps a global package cache to avoid re-downloading Python distributions and rebuilding environments, storing downloaded wheel files, source distribution archives, extracted metadata, and build artifacts that can be reused across projects. Over time, that cache accumulates packages no current environment or tool invocation still needs, especially after dependency upgrades, branch switches, and repeated virtual environment recreation. Kudu removes only uv packages that are no longer referenced by active environments by using uv's own cache-pruning behavior, leaving installed environments, project files, settings, accounts, and passwords untouched.

Why clean uv Unused Packages?

  • Old wheel archives and source tarballs remain in uv's global cache after dependency upgrades, so disk usage keeps growing even though those versions are no longer used anywhere
  • Frequent virtual environment rebuilds for testing leave behind cached distributions from abandoned dependency sets, which shows up as a large uv cache directory despite small current projects
  • Switching branches or lockfiles pulls multiple versions of the same package into cache, and users notice wasted space from duplicate wheels that no active environment needs
  • Interrupted or superseded package downloads can leave cache entries that uv no longer reuses, leading to a cache that keeps expanding without making installs meaningfully faster
  • Shared development machines accumulate unused cached packages from many temporary projects, so developers see storage pressure even when old virtual environments have already been deleted
  • Build-heavy packages can leave reusable but now unneeded artifacts in uv's cache after dependency changes, causing unexpectedly high disk consumption under the cache location
  • Pruning through uv's native cache management preserves cache integrity better than manually deleting files, avoiding broken cache state while reclaiming space from packages no longer referenced
What gets cleaned

Cache paths Kudu targets

Windows

~

macOS

~

Linux

~
Frequently asked

Common questions about uv Unused Packages

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.