Guide
cmux vs tmux.
They solve different problems. tmux keeps terminal sessions running after you disconnect, on almost any Unix machine. cmux is a macOS terminal app that shows which coding agent is waiting for you. Many people run both.
v1.0.8 · Mac and Windows · free for 3 days · no account
What each one is.
tmux is a terminal multiplexer: it creates several terminals inside one screen, and a session can be detached and left running in the background, then reattached later. It runs inside whatever terminal you already use, on Linux, macOS and the BSDs, and inside WSL on Windows. It is free and open source, configured in a text file and driven with a prefix key. Version 3.8 is the current release.
cmux is a free and open-source macOS terminal built on Ghostty, made by Manaflow and licensed GPL-3.0-or-later. It has vertical tabs, split panes, a built-in browser that agents can drive, and a CLI and socket API. Each tab in its sidebar shows the git branch, the linked pull request, the working directory and the listening ports. It is a native Swift and AppKit app, and its README says “macOS only, for now”.
Where they differ.
What survives a quit. A tmux session keeps its programs running when the terminal closes or an SSH connection drops, which is the reason most people install it. cmux restores the window and pane layout, working directories, scrollback and browser history when it reopens, but it does not checkpoint running processes: a shell or an editor comes back as a fresh terminal. Its README says Claude Code, Codex and OpenCode sessions can resume when their hooks saved a session ID.
Knowing which agent needs you. This is cmux’s reason to exist. When an agent waits for input, its pane gets a blue ring and its tab lights up in the sidebar; cmux picks up the terminal’s notification sequences, and a cmux notify command can be wired into an agent’s hooks. tmux can flag a window on a bell or on activity. Anything more is your own scripting.
Where it runs. tmux runs on the server as well as on your laptop, so it is the usual answer for agents on a remote machine. cmux runs on a Mac only. The two are not rivals there: cmux’s README says many people run it alongside SSH and tmux, and lists connecting to remote tmux sessions as a beta feature.
Setup. tmux is a config file, a prefix key and whatever you build on top. cmux is an app with the tabs, splits and notifications already in place, and it reads your Ghostty config.
Which to use for coding agents.
Use tmux when the agent runs on a server, when a session has to outlive your laptop’s lid, or when you want Claude Code’s agent teams in split panes, a mode that needs tmux. Use cmux when you run several agents on a Mac and the problem is noticing which one has stopped to ask you something.
Use both when you want each: cmux as the terminal you look at, tmux inside it for the sessions that must not die. If you are on Windows, cmux is not an option, and cmux for Windows covers what to use instead.
cmux alternatives, and where Starkomand fits.
Starkomand is ours, so read this part as a maker’s view. It takes the same job as cmux, several agents in real terminals with a signal when one needs you, and lays them out on a canvas instead of in tabs. A window’s header turns amber with a timer when its agent waits, and its back shows the closing line, the changed files and the dev servers it started. Agents can hand work to each other with a written brief. It runs on Apple silicon Macs and on Windows 10 and 11, costs one payment per computer after 3 free days, and is not open source.
It also uses tmux where tmux is the right tool. For an agent on your own server, Starkomand connects over SSH and runs the agent inside tmux on the host when tmux is installed there, so a dropped connection reattaches to the same session; that feature is Mac only for now. On your own machine, persistent agents keep running after you quit the app and come back as windows.
The free and open-source alternatives are Emdash, which gives every task its own git worktree, and Zeron, which draws a chat view over the agents. AgentGrid runs a master agent that delegates to workers. The comparison lists the price and platforms of each.
Keep going.
MoreCompare ADEsAlternativesWhat is an ADE?Agent orchestrationcmux for WindowsRun multiple Claude Code agents in parallelCodex vs Claude CodeCursor vs Claude CodeOpenCode vs Claude CodeGitHub Copilot vs Claude CodeCodex vs CursorGemini CLI vs Claude CodeOpenCode vs CodexKiro vs Claude CodeAntigravity vs Claude Code
Questions
Is cmux a replacement for tmux?
Only partly. On a Mac, cmux replaces the tabs, splits and status line many people build in tmux, and adds notifications when an agent waits. It does not keep programs running after it quits, which is what tmux is for, and it does not run on a server.
Can I use tmux inside cmux?
Yes. cmux is a terminal, so tmux runs in it like any other program, and cmux’s README says many people run it alongside SSH and tmux. The tmux session keeps running when cmux quits, so you can reattach to it afterwards.
Do sessions survive when cmux quits?
The layout does: cmux restores windows, panes, working directories, scrollback and browser history. Running programs do not, although Claude Code, Codex and OpenCode sessions can resume when their hooks saved a session ID. For programs that must keep running, use tmux.
Does Claude Code need tmux?
No. Claude Code runs in any terminal. Its agent teams can show each teammate in a split pane, and that mode needs tmux.
Is cmux free?
Yes. The macOS app is free and open source under GPL-3.0-or-later. Its paid plans are for cloud machines.
What can I use instead of cmux on Windows?
cmux does not run on Windows. Windows Terminal with tmux in WSL covers one terminal, and Starkomand, Emdash, Zeron and AgentGrid run several agents on Windows.
Try it against your own setup.
Every feature, every provider, free for 3 days. Your CLIs are already installed; the canvas takes a minute.
v1.0.8 · Mac and Windows · no account