CmdID

CmdID / Commands

uv-cache

Manage uv's global cache directory. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Show the cache directory path

uv cache dirIdentify

Clean the entire cache (removes all cached packages and environments)

uv cache cleanIdentify

Clean the cache for specific packages

uv cache clean package1 package2 ...Identify

Prune all unreachable objects from the cache

uv cache pruneIdentify

Prune cache optimized for CI environments like GitHub Actions

uv cache prune --ciIdentify

Use a specific cache directory

uv cache clean --cache-dir path/to/cacheIdentify

Clean cache with verbose output

uv cache clean --verboseIdentify