Tmux is the industry-standard open-source terminal multiplexer for Unix-like operating systems that enables multiple terminal sessions to be created, accessed, and managed within a single window. It allows users to detach from sessions that continue running in the background and reattach from the same or different terminal, making it essential for persistent remote sessions over SSH. Tmux solves the critical problem of losing work when terminal connections drop, and provides a powerful way to organize multiple terminal workflows.
Tmux supports windows that can be split into rectangular panes with independent pseudo terminals, session management with named sessions and windows, and a customizable status bar displaying system information. It uses Vi-style keybindings by default, supports mouse interaction, and offers a rich ecosystem of plugins through the Tmux Plugin Manager (TPM) that extend functionality with features like session persistence across reboots, enhanced copy mode, and application integrations. Tmux's configuration is done through a plain text file, allowing version-controlled terminal environment setups.
Tmux is essential for system administrators, DevOps engineers, and developers who work with remote servers or need to manage complex multi-terminal workflows. It integrates deeply with iTerm2 on macOS for native window management and works with virtually every terminal emulator. Tmux remains the gold standard for terminal multiplexing despite newer alternatives like Zellij, offering unmatched stability, extensive documentation, and a mature ecosystem that has been refined over more than a decade of active development.