Your complete guide to mastering tmux - the terminal multiplexer.
Now covering tmux 3.6b (released 2026-05-20)
New in 3.6: pane scrollbars, tiled layout column limits, automatic dark/light theme detection, copy mode improvements, and more. See What's New in tmux 3.6.
tmux is a terminal multiplexer that enables managing multiple command-line sessions. With tmux you can:
Step-by-step procedures for common tmux operations including installation, session management, and configuration.
Real-world workflows for remote development, multi-project setups, and pair programming.
Keyboard shortcuts, commands, and troubleshooting guides at your fingertips.
# Install tmux
brew install tmux # macOS
apt install tmux # Debian/Ubuntu
# Start your first session
tmux
# Split pane vertically
Ctrl+b %
# Detach from session
Ctrl+b d
# Reattach
tmux attachAsk the Docs
Click the chat button in the bottom-right corner to ask questions about tmux!