tmux is a terminal multiplexer that organizes command-line programs into sessions, windows and panes. It runs inside an existing terminal rather than supplying a separate desktop rendering application. A client can detach while programs continue under the tmux server, then attach again from the same terminal or another connection.[2][3]
What persists
The server process holds session state and manages the programs, while clients display and interact with it. This protects remote work from an SSH connection dropping and lets another computer reconnect to the same host. It is live-process persistence, not a disk snapshot that recreates arbitrary programs after the server process or host has been destroyed.[3]
Commands and configuration
The manual groups panes into windows and windows into sessions, with multiple clients able to access a session. Configuration files contain tmux commands and are loaded when the server starts; source-file can load later changes. This model supports scripting but differs from merely copying a terminal emulator's appearance settings. Commands and hooks in an imported setup can affect the running workspace.[4]
Clipboard integration
Copying to the desktop clipboard depends on support from the outer terminal, the configured terminal capabilities and tmux's clipboard mode, or an external clipboard tool. The documented external mode allows tmux itself to set the clipboard. Switching to on also permits programs inside panes to do so. The project warns that untrusted command output can then affect the system clipboard.[5]
Platforms and licensing
The project lists several Unix-like systems, including Linux, macOS and BSD variants. Its top-level COPYING uses ISC-style permissive terms, while the README directs readers to individual source-file notices. tmux can be combined with a desktop emulator rather than replacing its GPU rendering, fonts or operating-system window controls.[1][2]
Substitution scope
tmux can replace WezTerm's remote multiplexer for keeping a group of terminal jobs attached to a server-side session. The local interface can remain an ordinary terminal over SSH, or use an integration such as iTerm2's control-mode support. WezTerm domains and tmux sessions are different protocols and configurations, so existing live sessions are not automatically migrated by changing the desktop client.[3][6][7]
Capabilities & limitations
Detach and reattach
supported
Programs remain under the live server after a client detaches or loses its connection.[3]
Terminal workspace management · Linux, macOS, OpenBSD, FreeBSD, NetBSD, Solaris · Local platform and remote-service requirements apply