[FEATURE] Implement automatic cleanup of old Claude versions during updates
Open 💬 1 comment Opened Jul 13, 2026 by massiws
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Installed claude about 2 weeks ago: issue #14980 is still present.
What's the suggested solution? Do we need to manually clear older versions?
max@pc:~$ ls -l .local/share/claude/versions/
totale 754844
-rwxr-xr-x 1 max max 256535352 lug 8 11:28 2.1.204
-rwxr-xr-x 1 max max 257006392 lug 8 23:29 2.1.205
-rwxr-xr-x 1 max max 259402552 lug 13 00:10 2.1.207
Proposed Solution
After installed a new version, can the previous versions can be deleted, maybe asking the user.
Alternative Solutions
Alternatively, a CLI command like claude cleanup (or meybe in the TUI) to perform the same operation on-demand.
Priority
Low - Nice to have
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗