Section: Cache Management

Show cache directory

bash
bash
python -m pip cache dir
Explanation

Helpful when inspecting what pip has cached between runs.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Cache Management
Show cache info
Display cache size and entry information.
OpenIn sheetbashsame section
List cache entries
List cached wheel or package files.
OpenIn sheetbashsame section
Remove cached package entries
Delete cached entries for a package.
OpenIn sheetbashsame section
Purge entire cache
Clear all cached pip artifacts.
OpenIn sheetbashsame section
List pip configuration values
Show effective pip configuration settings.
OpenIn sheetbash1 tag match
Disable cache for one install
Skip cache use while installing.
OpenIn sheetbash1 tag match