Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmux tutor

Learn tmux interactively -- like vimtutor, but for tmux.

28 hands-on lessons that teach you tmux by having you actually use it. No slides, no videos -- just your terminal, a tutor script, and live verification that checks your work after every lesson.

Lesson 2: Detach -- side-by-side view of the lesson text and terminal

Verification passing with green checkmark

Features

  • 28 interactive lessons across two modules (basics + advanced)
  • Live verification -- the tutor inspects your tmux state and confirms you did it right
  • No install required beyond bash and tmux -- just clone and run
  • Progress saving -- quit any time and resume where you left off
  • HTML reference companion covering all 28 lessons plus a quick reference card

Quick start

git clone https://github.com/alejandroerickson/tmuxtutor.git
cd tmuxtutor
./tmuxtutor

When you finish the basics, continue with:

./tmuxtutor-advanced

Run without installing

Try it instantly -- no clone needed:

bash <(curl -sL https://raw.githubusercontent.com/alejandroerickson/tmuxtutor/main/tmuxtutor)

For the advanced module:

bash <(curl -sL https://raw.githubusercontent.com/alejandroerickson/tmuxtutor/main/tmuxtutor-advanced)

How it works

Open two terminal windows (or tabs). In the first, run ./tmuxtutor. The tutor displays a lesson and tells you what to do. In the second terminal, execute the tmux commands it asks for. When you think you have it right, press [v] in the tutor to verify -- it checks your live tmux state and tells you whether you passed.

Two terminals side by side: lesson text on the right, tmux commands on the left

HTML reference companion

A self-contained reference covering all 28 lessons and a quick reference card is available at alejandroerickson.com/tmuxtutor.

HTML reference companion showing sidebar navigation and lesson content

Screenshots

Lesson 14: Build a Workspace
Lesson 14 -- Build a Workspace (capstone)

Basics completion screen
Completing the basics module

Advanced tutor intro screen
Advanced module introduction

Advanced Lesson 6: Move Panes Between Windows
Advanced Lesson 6 -- Move Panes Between Windows

Advanced Lesson 9: Edit tmux.conf
Advanced Lesson 9 -- Editing tmux.conf in a split view

Advanced Lesson 13: SSH and tmux
Advanced Lesson 13 -- SSH and tmux

Advanced completion screen
Completing all 28 lessons

Requirements

  • bash
  • tmux

Install tmux if you don't have it:

# Ubuntu / Debian
sudo apt install tmux

# macOS (Homebrew)
brew install tmux

# Fedora
sudo dnf install tmux

# Arch
sudo pacman -S tmux

License

MIT

About

A tutor for Tmux inspired by vimtutor

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages