# tmux

tmux terminal workspace software with qualified platform and session\-management capabilities\.

ID: Q267 · Revision: 252

Type: software · License: ISC\-style terms; individual source\-file notices apply[^tmux-license][^tmux-home] · Status: active

Website: https://github.com/tmux/tmux



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\.[^tmux-home][^tmux-start]

## 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\.[^tmux-start]

## 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\.[^tmux-manual]

## 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\.[^tmux-clipboard]

## 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\.[^tmux-home][^tmux-license]

## Substitution scope

tmux can replace [WezTerm](/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\.[^tmux-start][^wez-mux][^iterm-tmux]

## Capabilities and substitutions

### Detach and reattach — supported

Programs remain under the live server after a client detaches or loses its connection\.[^tmux-start]

Use case: Terminal workspace management · Platforms: Linux, macOS, OpenBSD, FreeBSD, NetBSD, Solaris · Region: Local platform and remote\-service requirements apply

### System clipboard integration — limited

Depends on outer\-terminal capabilities and configuration; permissive clipboard mode expands what pane applications can change\.[^tmux-clipboard]

Use case: Terminal workspace management · Platforms: Linux, macOS, OpenBSD, FreeBSD, NetBSD, Solaris · Region: Local platform and remote\-service requirements apply

### [Substitute for WezTerm](/wezterm) — limited

An alternative remote multiplexing layer with its own server, commands and session protocol; not a replacement desktop renderer\.[^tmux-start][^wez-mux]

Use case: Server\-side persistent terminal sessions · Platforms: Linux, macOS, OpenBSD, FreeBSD, NetBSD, Solaris · Region: Local platform and remote\-service requirements apply

## References

[^tmux-license]: [tmux license](<https://github.com/tmux/tmux/blob/master/COPYING>) — ISC terms; individual file notices also apply (vendor; retrieved 2026-10-07T01:07:03Z)

[^tmux-home]: [tmux README](<https://github.com/tmux/tmux/blob/master/README>) — Multiplexing, detach and supported Unix platforms (vendor; retrieved 2026-10-07T01:07:03Z)

[^tmux-start]: [tmux getting started](<https://github.com/tmux/tmux/wiki/Getting-Started>) — Server state, detach and session organization (vendor; retrieved 2026-10-07T01:08:37Z)

[^tmux-manual]: [tmux manual](<https://github.com/tmux/tmux/blob/master/tmux.1>) — Sessions, server process, control mode and configuration (vendor; retrieved 2026-10-07T01:07:03Z)

[^tmux-clipboard]: [tmux clipboard](<https://github.com/tmux/tmux/wiki/Clipboard>) — OSC 52, external mode and security concerns (vendor; retrieved 2026-10-07T01:08:37Z)

[^wez-mux]: [WezTerm multiplexing](<https://github.com/wezterm/wezterm/blob/main/docs/multiplexing.md>) — SSH domains require compatible remote WezTerm; Unix and TLS domains (vendor; retrieved 2026-10-07T01:02:32Z)

[^iterm-tmux]: [iTerm2 tmux integration](<https://iterm2.com/documentation-tmux-integration.html>) — Control mode and distinction between detach and close (vendor; retrieved 2026-10-07T01:07:03Z)

Source revision: https://substitutefor.net/entities/Q267?revision=252
