How to Manage uv's Cache Size

· Python Developer Tooling Handbook – pydevtools.com · Aug. 31, 2026, 3:37 p.m.
Summary
This post explains how to manage the cache size of the `uv` package manager used in Python development. It describes how `uv` keeps a local copy of every downloaded package for faster installs, which can lead to a large cache size. The author provides commands to inspect, shrink, or relocate the cache. Additionally, prerequisites for using these commands and example outputs are included.
AUTHOR