cmux
Cheat Sheet
Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for running multiple Claude Code sessions simultaneously.
Quick Start
Install
brew tap manaflow-ai/cmux
brew install --cask cmuxor download DMG from GitHub Releases
Launch
cmuxOpens with vertical tabs sidebar
Start Claude Code
claudeRun in each tab — cmux shows notifications when Claude needs attention
Keyboard Shortcuts
Workspaces
Surfaces (Tabs)
Split Panes
Browser Pane
Notifications & Find
Terminal & Window
CLI Commands
Install & Update
brew tap manaflow-ai/cmuxAdd cmux tapbrew install --cask cmuxInstall via Homebrewbrew upgrade --cask cmuxUpdate to latestUsage
cmuxLaunch cmux terminalcmux notifyWire agent hooks for notificationscmux ssh user@remoteCreate remote workspacecmux claude-teamsLaunch Claude Code teammate modeKey Features
Sidebar hiển thị git branch, PR status, directory, listening ports, và notification text cho từng tab.
Blue rings khi Claude cần attention. Panel tập trung tất cả alerts. ⌘ ⇧ U nhảy đến unread mới nhất.
Chia màn hình horizontal & vertical. Chạy nhiều Claude Code sessions cùng lúc trong một workspace.
In-app browser với scriptable API. Import cookies, history từ Chrome, Firefox, Arc, và 20+ browsers.
cmux ssh user@remote tạo remote workspace. Làm việc trên server như local.
Khôi phục layout, directories, scrollback, browser history. Chỉ live processes (Claude Code, vim) cần restart.
Định nghĩa project-specific actions trong cmux.json. Scriptable CLI/Socket API cho automation.
Đọc ~/.config/ghostty/config cho themes, fonts, colors. GPU-accelerated rendering.
Why cmux + Claude Code?
Parallel sessions
Chạy nhiều Claude Code sessions song song. Mỗi tab hiện git branch, directory, status riêng biệt.
Smart notifications
Khi Claude dừng chờ input, cmux hiện blue ring notification. Không cần liên tục check từng tab.
Built-in browser
Preview app ngay trong terminal. Import sessions từ Chrome/Arc. DevTools tích hợp sẵn.
Session restore
Khôi phục toàn bộ layout khi reopen. Directories, scrollback, browser history — chỉ cần restart Claude Code.
Configuration
cmux reads Ghostty config for themes, fonts, and colors.
~/.config/ghostty/configProject-specific custom commands and actions.
./cmux.jsonPreserves layout, directories, scrollback, browser history.
Window/workspace/pane layout
Working directories
Terminal scrollback
Browser URL & historyDMG auto-updates via Sparkle. Homebrew via brew upgrade.
brew upgrade --cask cmuxSession Restore
Restored
NOT Restored
Tip: Dùng claude -c để continue Claude Code session sau khi restore.