---
title: "💭 uv cache prune"
description: "!https://simonwillison.net/2025/Jul/8/uv-cache-prune/#atom-everything"
date: 2025-07-09
published: true
tags:
  - uv
  - python
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://simonwillison.net/2025/Jul/8/uv-cache-prune/#atom-everything" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-content">
      <div class="embed-card-title">uv cache prune</div>
      <div class="embed-card-description">If you&#39;re running low on disk space and are a uv user, don&#39;t forget about uv cache prune: uv cache prune removes all unused cache entries. For example, the cache …</div>
      <div class="embed-card-meta">Simon Willison’s Weblog &middot; simonwillison.net</div>
    </div>
  </a>
</div>


Good point to check on your uv cache if you are running low on disk space.  I checked mine today, and it wasn't too bad so I left it alone.

``` bash
du -sh `uv cache dir`
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
