learn — tmux
~ $ tmux new -s learn
[detached (from session learn)]
~ $ tmux attach -t learn
~ $ cd projects/api
~ $ vim notes.md
1# tmux notes
2- prefix is C-b
3- windows are tabs, panes are splits
4
~
~
-- INSERT --notes.md4,1
~ $ npm run dev
ready on :3000
~ $ tail -f app.log
[learn]0:editor*-1:server-2:logs3:lesson*-14:11
4 LEVELS · 42 TASKS · REAL TERMINAL

Learn tmux by doing it, not reading about it.

Short levels from your first session to your own config. Every task happens in a live terminal. We watch it and tick things off the moment you get them right.

~40 min total0 installs37 shortcuts
THE PATH

Four levels, in the order the official guide teaches them.

Each level is about ten minutes and ends with a small challenge that combines what you just did. Finish one to unlock the next.

01✓ 7:42

Basics

Sessions, the prefix key, panes, windows, detach & reattach.

tmux new -s
C-b % · C-b "
C-b ←↑↓→
C-b c · n · p
C-b d · tmux attach
023 / 11

Intermediate

Rename, zoom, resize, kill, layouts, tree mode, the command prompt.

C-b , · C-b $
C-b 0–9
C-b z ← you are here
C-b x · & · Space
C-b w · C-b :
03locked · 11

Advanced

Copy mode, paste buffers, mark & swap, mouse, floating panes, switch mode.

C-b [ · C-b ]
C-b = · C-b f
C-b m · { · }
set -g mouse on
C-b * · C-b Tab
04locked · 10

Configure

.tmux.conf, a new prefix, key bindings, status line styles, vi keys.

set -g prefix C-a
bind · unbind
source ~/.tmux.conf
status-style
mode-keys vi
HOW A LESSON WORKS

The terminal stays put. It changes as you do.

Still the same session you started at the top of the page: window3:lesson, opened when you pressed the prefix. Every task below drives it.

LEVEL 1 · TASK 2 / 10

Split the pane side by side

C-bthen%✓ 0:14
LEVEL 1 · TASK 3 / 10

Split the pane top and bottom

C-bthen"✓ 0:09
LEVEL 1 · TASK 4 / 10

Move between panes

C-bthenwatching
learn — tmux
~ $ tmux new -s learn
[detached (from session learn)]
~ $ tmux attach -t learn
~ $ cd projects/api
~ $ vim notes.md
1# tmux notes
2- prefix is C-b
3- windows are tabs, panes are splits
4
~
~
-- INSERT --notes.md4,1
~ $ npm run dev
ready on :3000
~ $ tail -f app.log
~ $ ls
notes.md  projects  scratch
~ $ git status -sb
## main...origin/main
 M notes.md
~ $
← cursor lands back here
~ $ htop
CPU [||||||    28%]
~ $
[learn]0:editor*-1:server-2:logs3:lesson*-14:11
LEVEL 2 · INTERMEDIATE
Completed just now · 11 of 11 tasks

You can shape a workspace now.

You renamed, zoomed, resized, killed and re-laid-out panes, and used the command prompt without touching the mouse once.

8:56
time in level
1
hint used
+9
shortcuts learned
Added to your cheat sheet9 new
rename window / sessionC-b , / $
window by numberC-b 0–9
zoom paneC-b z
resize paneC-b C-←→
kill pane / windowC-b x / &
cycle layoutsC-b Space
pane numbersC-b q
tree modeC-b w / s
command promptC-b :
Next: Level 3 · 11 tasks · ~12 minDownload PDF
YOUR CHEAT SHEET

Only what you've actually done.

Download PDF
tmux new -s
new named session
C-b %
split left / right
C-b "
split top / bottom
C-b ←↑↓→
move between panes
C-b c
new window
C-b n / p / 0–9
switch windows
C-b d
detach
tmux attach -t
reattach
C-b , / $
rename window / session
C-b z
zoom pane
C-b C-←→
resize pane
C-b x / &
kill pane / window
C-b Space
cycle layouts
C-b w / s
tree mode
C-b :
command prompt
21 more
unlock in Levels 3 & 4