
Terminal multiplexer that creates multiple terminals in a single screen with detach/reattach capabilities
tmux is a terminal multiplexer that allows multiple terminal sessions to be created, accessed, and controlled from a single screen. Users can create multiple windows and panes within a single tmux session, enabling efficient management of multiple command-line tasks simultaneously.
The tool's defining feature is session persistence - tmux sessions can be detached from the current terminal and continue running in the background, then reattached later from any terminal. This makes it particularly valuable for remote server administration, long-running processes, and maintaining work contexts across SSH disconnections.
tmux runs on OpenBSD, FreeBSD, NetBSD, Linux, macOS, and Solaris. It depends on libevent 2.x and ncurses libraries, and can optionally integrate with utempter for utmp updates. The tool provides extensive customization through configuration files and supports bash completion for command-line usage.
# via Build from source
./configure && make && sudo make install