Claude Code within tmux — tmux会话管理Claude
v1.0.0在 tmux 会话中统一管理多个 Claude Code 实例,按项目隔离;无需额外脚本即可读取最新响应、发送提示或执行 /compact 命令,实现多项目并行开发与对话。
详细分析 ▾
运行时依赖
版本
claude-tmux 1.0.0 initial release - Provides a repeatable, tmux-only workflow for interacting with Claude Code running in tmux sessions. - Defines conventions for session and pane naming, and message markers. - Step-by-step instructions for locating the Claude pane, viewing the latest exchange, sending prompts, running /compact, and dumping raw pane buffer. - Includes troubleshooting steps, best practices, and tips for multi-session or non-default socket use. - No extra scripts or dependencies required—uses standard tmux commands only.
安装命令
点击复制本土化适配说明
Claude Code within tmux — tmux会话管理Claude 安装说明: 安装命令:npx clawhub@latest install claude-tmux 支持国内镜像加速,使用 --registry https://cn.longxiaskill.com 参数可加速下载