Skip to content

Old Claude Code versions

Last updated 1 November 2026

What it is, where it lives on your Mac, and whether it’s safe to delete.

Safe to delete

Yes. Claude Code downloads a version again if it ever needs one.

Where it is

~/.local/share/claude/versions/*

A * stands for any name: there can be several of these.

What it is

Claude Code's installer keeps every version it downloads here and switches the ~/.local/bin/claude link to the newest; older ones are never run again.

The newest version and whatever the launcher link points to stay; a launcher that can't be read keeps them all.

Is it safe to delete?

Yes. Claude Code downloads a version again if it ever needs one.

How big is it?

In Terminal, this shows its size without changing anything:

du -sh "$HOME/.local/share/claude/versions"

How to remove it

  1. Quit claude first.
  2. In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
  3. Keep the newest version (by the version number in the name), and the version ~/.local/bin/claude points to (readlink ~/.local/bin/claude shows it; if it shows nothing, keep them all). Only older ones may go.
  4. Leave anything opened or changed less than 1 day ago (for a folder, its newest file counts). DiskCity waits that long too.
  5. Move only what passes these checks to the Trash.
  6. Empty the Trash to get the space back. Until then, you can still put things back.

What DiskCity does with it

DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot. It always keeps the newest version. It only suggests it once it hasn't been used for 1 day. It waits until claude is closed.

Sources

Checked 2026-10-23.