Quick Start Guide
FreshGet up and running with tmux in 5 minutes.
Installation
Choose your platform:
bash
brew install tmuxbash
port install tmuxbash
apt install tmuxbash
yum install tmuxbash
dnf install tmuxbash
pacman -S tmuxVerify installation:
bash
tmux -VYour First Session
1. Start tmux
bash
tmuxYou'll see a green status bar at the bottom - you're now in tmux!
2. Split Your Terminal
| Action | Shortcut |
|---|---|
| Split vertically (side by side) | Ctrl+b then % |
| Split horizontally (top/bottom) | Ctrl+b then " |
| Switch between panes | Ctrl+b then arrow keys |
3. Detach and Reattach
bash
# Detach (keeps session running)
Ctrl+b d
# List sessions
tmux ls
# Reattach to session
tmux attachEssential Shortcuts
The Prefix Key
All tmux shortcuts start with a prefix key (default: Ctrl+b). Press the prefix, release, then press the action key.
| Action | Shortcut |
|---|---|
| Sessions | |
| Detach | Ctrl+b d |
| List sessions | Ctrl+b s |
| Rename session | Ctrl+b $ |
| Windows | |
| New window | Ctrl+b c |
| Next window | Ctrl+b n |
| Previous window | Ctrl+b p |
| Rename window | Ctrl+b , |
| Panes | |
| Split vertical | Ctrl+b % |
| Split horizontal | Ctrl+b " |
| Close pane | Ctrl+b x |
| Zoom pane | Ctrl+b z |
Next Steps
- SOP: Installation - Detailed installation for all platforms
- SOP: Session Management - Master sessions
- Quick Reference: Commands - Complete command list