Skip to content

Quick Start Guide

Fresh

Get up and running with tmux in 5 minutes.

Installation

Choose your platform:

bash
brew install tmux
bash
port install tmux
bash
apt install tmux
bash
yum install tmux
bash
dnf install tmux
bash
pacman -S tmux

Verify installation:

bash
tmux -V

Your First Session

1. Start tmux

bash
tmux

You'll see a green status bar at the bottom - you're now in tmux!

2. Split Your Terminal

ActionShortcut
Split vertically (side by side)Ctrl+b then %
Split horizontally (top/bottom)Ctrl+b then "
Switch between panesCtrl+b then arrow keys

3. Detach and Reattach

bash
# Detach (keeps session running)
Ctrl+b d

# List sessions
tmux ls

# Reattach to session
tmux attach

Essential Shortcuts

The Prefix Key

All tmux shortcuts start with a prefix key (default: Ctrl+b). Press the prefix, release, then press the action key.

ActionShortcut
Sessions
DetachCtrl+b d
List sessionsCtrl+b s
Rename sessionCtrl+b $
Windows
New windowCtrl+b c
Next windowCtrl+b n
Previous windowCtrl+b p
Rename windowCtrl+b ,
Panes
Split verticalCtrl+b %
Split horizontalCtrl+b "
Close paneCtrl+b x
Zoom paneCtrl+b z

Next Steps

Generated with AI-powered SOP Generator