PulseAugur
中
实时 18:07:14
English(EN) Claude Code chat history on Windows: where it's stored and how to clean it

Claude Code 在 Windows 上本地存储和清除聊天记录

Claude Code 是一款面向开发者的工具,它将聊天记录和文件历史记录本地存储在 Windows 上。聊天记录以 JSONL 文件的形式保存在特定项目文件夹中,文件历史记录则存放在单独的目录里。默认情况下,Claude Code 会自动删除超过 30 天的会话记录,但此保留期可以自定义。用户可以使用 `claude purge` 命令手动清除项目数据,该命令还支持 `--dry-run` 选项,以便在执行前预览将要删除的内容。 AI

影响 提供了关于管理 AI 编码助手本地存储的指南,对于关注数据占用的开发者具有参考价值。

排序理由 文章详细介绍了特定开发者工具的本地存储和聊天记录管理。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code 在 Windows 上本地存储和清除聊天记录

本文如何被排名

Signal score
22 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
文章详细介绍了特定开发者工具的本地存储和聊天记录管理。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · RIGSWEEP.COM ·

    Claude 代码聊天记录在 Windows 上的存储位置及清理方法

    <p><strong>Claude Code saves every session as a <code>.jsonl</code> transcript in <code>%USERPROFILE%\.claude\projects</code>, one folder per project, and keeps copies of the files it edits in <code>%USERPROFILE%\.claude\file-history</code>.</strong> It deletes sessions older tha…