Apps

uv Unused Packages

uv keeps a shared package cache for downloaded Python distributions, including wheel files, source archives, unpacked build artifacts, and metadata fetched from package indexes. Over time that cache accumulates packages no longer referenced by any current environment, interpreter, or project lock state, especially after dependency upgrades, branch switches, and repeated virtual environment rebuilds. Kudu removes only uv packages that are unused according to uv's own cache management, preserving active environments, installed project dependencies, settings, accounts, and credentials.

Why clean uv Unused Packages?

  • Repeated dependency upgrades leave old wheel archives and source tarballs in uv's shared cache, so disk usage keeps growing even though your current projects no longer need those versions
  • Switching branches or lockfiles often strands package builds that are no longer referenced, which makes the cache look much larger than any active virtual environment on disk
  • Stale cached distributions can hide what is actually in use, making it harder to diagnose why a machine is low on space when uv commands themselves still appear to work normally
  • Large collections of unused build artifacts slow manual inspection of the cache directory, and users usually notice this as unexpectedly huge .cache or app data folders rather than failures in their projects
  • CI runners and developer workstations that recreate environments frequently accumulate unneeded uv package data, leading to quota warnings, fuller disks, and slower backups or profile syncs
  • Cleaning unused packages trims only cache entries uv no longer needs, so active environments keep working while future installs simply re-download missing distributions if required
  • On shared development machines, old cached package versions from abandoned projects consume space long after the projects are gone, and the visible symptom is disk pressure rather than broken Python code
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.