Ghostty + Cmux + Zed AI 多协作编程终端栈
# 首次安装(一行命令搞定全部)
brew tap madlouse/ghostty https://github.com/madlouse/homebrew-ghostty
brew install ghostty-cmux
# 日常同步最新配置
ghostty-cmux-sync
# 如果你之前装的是旧版 formula,先升级一次拿到 sync wrapper
brew upgrade ghostty-cmux安装后运行验证脚本确认状态:
ghostty-cmux-verify| 工具 | 作用 |
|---|---|
| Cmux | AI Agent 多会话指挥中心(内置 libghostty 渲染) |
| Ghostty | 终端基座,支持原生分屏 / Quick Terminal |
| Zed | 代码编辑器 + AI Agent Panel |
| Starship | 跨 Shell prompt |
| fastfetch | 系统信息展示 |
| btop | 资源监控 |
| JetBrainsMono Nerd Font | 字体(含图标 glyph) |
幂等安装 — 内容一致时自动跳过,可重复执行无副作用:
ghostty-cmux-sync --dry-run # 预览同步和部署动作
ghostty-cmux-sync # 同步 main 最新快照并幂等部署
ghostty-cmux-sync --force # 强制重新部署验证 — 安装后检查配置一致性(精确 diff,不只是文件存在性):
ghostty-cmux-verifyghostty-cmux-verify 会优先使用 ghostty-cmux-sync 同步后的最新源码验证脚本;
如果本机还没有 managed source,则回退到 formula 自带的打包版本。
Agent 友好 — 完整安装文档:ghostty-optimization/AGENTS.md
ghostty-cmux— 完整 AI 编程终端栈
brew uninstall ghostty-cmux配置版本管理在 ghostty-optimization 仓库。
Homebrew formula 只负责发放 bootstrap / sync 入口,最新配置由 ghostty-cmux-sync 从 upstream main 快照获取。