Prerequisites
- cmux installed (see Installation)
- Basic familiarity with terminal commands
Launch cmux
Open cmux from your Applications folder or via Spotlight (Cmd+Space, type “cmux”).
On first launch, you’ll see a single workspace with a terminal. The sidebar on the left shows your workspace tabs.
Create a workspace
Workspaces are the top-level organizing unit in cmux. Each workspace can contain multiple split panes and surfaces (terminals and browsers).1
Create a new workspace
Press You can also create a workspace in a specific directory:
Cmd+N or use the CLI:2
Navigate between workspaces
Use keyboard shortcuts to switch workspaces:
3
Rename a workspace
Press
Cmd+Shift+R or use the CLI:Split panes
Split your workspace horizontally or vertically to work with multiple terminals side-by-side.1
Split right
Press
Cmd+D to create a vertical split.2
Split down
Press
Cmd+Shift+D to create a horizontal split.3
Navigate between panes
Use
Opt+Cmd+Arrow to focus panes directionally.4
Flash focused pane
Press
Cmd+Shift+H to briefly highlight which pane has focus.Set up notifications
Notifications are cmux’s killer feature for working with AI coding agents. When an agent needs your attention, its pane gets a blue ring and the tab lights up.1
Send a test notification
- A blue ring around the current pane
- The workspace tab glows in the sidebar
- The notification appears in the notification panel
2
Open the notification panel
Press
Cmd+I to see all notifications.3
Jump to latest unread
Press
Cmd+Shift+U to jump to the most recent unread notification.4
Clear notifications
Terminal notification sequences
cmux also picks up standard terminal notification sequences (OSC 9/99/777):Use the in-app browser
The in-app browser lets you view and automate web pages alongside your terminal.1
Open browser in split
Press
Cmd+Shift+L or use the CLI:2
Navigate to a URL
Press
Cmd+L to focus the address bar, type a URL, and press Enter.Or via CLI:3
Browser shortcuts
Scriptable browser API
The browser has a scriptable API ported from agent-browser for automation:Integrate with AI coding agents
cmux is designed to work seamlessly with AI coding tools. Here’s how to integrate with popular agents:Claude Code
cmux has built-in Claude Code integration. To enable it:1
Set up the hook
cmux can automatically notify you when Claude Code is waiting. The integration is enabled by default in recent versions.When Claude Code pauses for input, you’ll see a notification in the workspace where it’s running.
2
Resume from notifications
Press
Cmd+Shift+U to jump to the latest Claude Code prompt.OpenCode
For OpenCode or other agents, use thecmux notify command in your shell prompts or agent hooks:
Custom integrations
You can wirecmux notify into any tool that supports custom commands or hooks:
Keyboard shortcuts reference
Here are the essential shortcuts to get started:Workspaces
Split panes
Notifications
Browser
For a complete list, see Keyboard Shortcuts.
Next steps
Workspaces & Tabs
Learn advanced workspace management
Notifications
Master the notification system
CLI Reference
Explore all CLI commands
Browser Automation
Automate the in-app browser