claude purge [path]
Erases all local state, history, logs, and configuration records for a project.
Syntax
claude purge [path]Example
Terminal
claude purge ~/work/repo --dry-runProgress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
claude purge [path]Erases all local state, history, logs, and configuration records for a project.
claude purge [path]claude purge ~/work/repo --dry-run