rm
A Claude Code CLI flag, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
When claude rm is blocked, it names the session holding the directory and how to stop it.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.227.
In the changelogs
6Releases whose published page names rm.
-
v2.1.268
claude rmgains a--force-remove-worktreeflag and rich refusal messagesclaude rmgets a--force-remove-worktreeflag and much more detailed refusal messagesnamed in this entry
-
v2.1.268
New 'claude rm' subcommand flags for background sessions
claude rm gains --discard-unpushed and --force-remove-worktree flags for cleaning up background session worktrees
named in this entry
-
v2.1.260
claude rmcan now force-discard unpushed commitsclaude rm can now force-delete a worktree with unpushed commits using a new flag.
named in this entry
-
v2.1.260
New unpushed-commit summary in worktree-kept messages
claude rm now prints a readable summary of unpushed commits kept in a worktree.
named in this entry
-
v2.1.248
claude attachexplains cleaned-up background sessions instead of failing genericallyReopening a cleaned-up background session now points you at claude rm and claude respawn.
named in this entry
-
v2.1.227
claude rmtells you which session is holding a directoryWhen
claude rmis blocked, it names the session holding the directory and how to stop it.named in this entry
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the CLI flag does. All CLI flags.