AI资讯大全AIPPXP.CN搜索 ↗
手把手教程 · 图文步骤

Graphic tutorial: Install persistent memory for AI programming assistant (claude-mem installation guide)图文教程:给 AI 编程助手装上持久记忆(claude-mem 安装指南)

Install claude-mem in five minutes and let programming agents such as Claude Code automatically remember your project background and historical decisions. Say goodbye to the embarrassment of having to explain it again every time you open a session.

五分钟装好 claude-mem,让 Claude Code 等编程智能体自动记住你的项目背景和历史决策,从此告别每次开会话都要重新交代的尴尬。

2026-09-25 更新 · 免费
图文教程:给 AI 编程助手装上持久记忆(claude-mem 安装指南)
1

Step 1: Prepare the Node.js environment第一步:准备好 Node.js 环境

claude-mem is distributed as an npm package and requires Node.js to be installed first. Go to nodejs.org to download the long-term support version (LTS), and just follow the next step during installation.

After installation, open the command line and enter node --version. If the version number is displayed, it means that the environment is ready.

中文

claude-mem 以 npm 包形式分发,需要先安装 Node.js。到 nodejs.org 下载长期支持版(LTS),安装时一路下一步即可。

装好后打开命令行输入 node --version,能显示版本号说明环境就绪。

第一步:准备好 Node.js 环境
2

Step 2: Download and install claude-mem第二步:下载并安装 claude-mem

Go to the "AI Plug-in" section of this site to download the claude-mem offline package (claude-mem-13.25.3-npm.tgz).

Open the command line in the download directory and execute: npm install -g claude-mem-13.25.3-npm.tgz. If added 1 package appears, the installation is successful.

中文

到本站「AI插件」栏目下载 claude-mem 离线包(claude-mem-13.25.3-npm.tgz)。

在下载目录打开命令行,执行:npm install -g claude-mem-13.25.3-npm.tgz,出现 added 1 package 即安装成功。

第二步:下载并安装 claude-mem
3

Step 3: Connect to your programming agent第三步:接入你的编程智能体

Take Claude Code as an example: execute claude-mem install and follow the prompts to complete the access; for other compatible tools, refer to the instructions in the package for configuration.

After the access is completed, restart the agent. The memory index will be automatically created when starting for the first time.

中文

以 Claude Code 为例:执行 claude-mem install,按提示完成接入;其他兼容工具参照包内说明配置。

接入完成后重启智能体,首次启动会自动建立记忆库索引。

第三步:接入你的编程智能体
4

Step 4: Verify memory effect第四步:验证记忆效果

Tell it a project convention in the agent (such as "This project uses four spaces for indentation"). After ending the session, open a new session and directly ask "What is our indentation specification?"

If it can answer it, it means the memory has taken effect. No additional operations are required for daily use, claude-mem automatically compresses and injects context.

中文

在智能体里告诉它一个项目约定(比如「本项目统一用四空格缩进」),结束会话后开新会话直接问「我们的缩进规范是什么」。

如果它能答上来,说明记忆已经生效。日常使用无需任何额外操作,claude-mem 会自动压缩和注入上下文。

第四步:验证记忆效果

Notes使用提醒

This article is compiled from public sources and ships with the matching resource. Product features and pricing are subject to the official page. Resources are for learning and exchange only — please respect the original license.

中文

本文整理自公开资料并附上配套资源;涉及产品的功能与价格以官方页面为准。资源仅供学习交流,请遵循来源许可。

资源下载 · Download

本篇为图文教程,直接按步骤操作即可,无需下载文件。

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告