HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pip cache — Inspect and manage pip's wheel cache. More information: <https://pip.pypa.io/en/stable/cli/pip_cache

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandclimanagewheelinspectpippip cache

Problem

How to use the pip cache command: Inspect and manage pip's wheel cache. More information: <https://pip.pypa.io/en/stable/cli/pip_cache/>.

Solution

pip cache — Inspect and manage pip's wheel cache. More information: <https://pip.pypa.io/en/stable/cli/pip_cache/>.

Show the location of the pip cache directory:
pip cache dir


List filenames of all packages currently stored in the cache:
pip cache list


Remove all files from the pip cache:
pip cache purge


Remove cached files matching a specific package name:
pip cache remove {{package_name}}

Code Snippets

Show the location of the pip cache directory

pip cache dir

List filenames of all packages currently stored in the cache

pip cache list

Remove all files from the pip cache

pip cache purge

Remove cached files matching a specific package name

pip cache remove {{package_name}}

Context

tldr-pages: common/pip cache

Revisions (0)

No revisions yet.