非官方社区工具。
cbm-tool是codebase-memory-mcp的独立社区封装工具,并非由 DeusData 或上游codebase-memory-mcp项目维护、认可或支持。
codebase-memory-mcp 的跨平台便捷命令行封装工具。
支持 Linux、macOS 和 Windows(PowerShell)。
cbm 是一个非官方社区封装工具,让你可以用更友好的命令行界面,把本地 Git 仓库索引到 codebase-memory-mcp 知识图谱中。
它还包含一个 setup 命令,可以配置本地 AI 编辑器(Claude Code、Cursor、Codex CLI、Cline、Windsurf)接入 codebase-memory-mcp,并在探索代码时优先使用知识图谱。
# Arch(AUR)
yay -S cbm-tool
# 或: paru -S cbm-tool
# 其他系统
curl -fsSL https://github.com/fxjs/cbm-tool/releases/latest/download/install.sh | bash
cbm -hcurl -fsSL -o %TEMP%\cbm-install.cmd https://github.com/fxjs/cbm-tool/releases/latest/download/install.cmd && %TEMP%\cbm-install.cmdirm https://github.com/fxjs/cbm-tool/releases/latest/download/install.ps1 | iex请先备份编辑器配置。可用
cbm setup --dry-run预览。
cbm setup
cbm setup --editor cursor
cbm setup --uninstall# 用户目录安装(~/.local/bin)— 从 GitHub self-update
cbm update self
# Arch(AUR)— 请用包管理器更新
# yay -Syu cbm-tool
cbm update codebase-memory-mcp
cbm update codebase-memory-mcp v0.9.0# Arch(AUR)
sudo pacman -Rns cbm-tool
# Linux / macOS
curl -fsSL https://github.com/fxjs/cbm-tool/releases/latest/download/uninstall.sh | bashirm https://github.com/fxjs/cbm-tool/releases/latest/download/uninstall.ps1 | iex# 运行 Unix 测试
make test
# 检查 shell 脚本(需要 shellcheck)
make lintWindows 上运行 PowerShell 测试:
.\tests\test_windows.ps1English: README.en.md | Install | Usage.
本项目积极参与并认可 linux.do 社区。
MIT
