tmux tmux terminal workspace software with qualified platform and session-management capabilities.
Overview 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]
Contents 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]
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]
References tmux license ISC terms; individual file notices also apply
vendor · retrieved 2026-10-07 tmux README Multiplexing, detach and supported Unix platforms
vendor · retrieved 2026-10-07 tmux getting started Server state, detach and session organization
vendor · retrieved 2026-10-07 tmux manual Sessions, server process, control mode and configuration
vendor · retrieved 2026-10-07 tmux clipboard OSC 52, external mode and security concerns
vendor · retrieved 2026-10-07 WezTerm multiplexing SSH domains require compatible remote WezTerm; Unix and TLS domains
vendor · retrieved 2026-10-07 iTerm2 tmux integration Control mode and distinction between detach and close
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.