Install and Start tmux in tmux

From the tmux cheat sheet ยท Setup ยท verified Aug 2026

Install and Start tmux

Install tmux with a platform package manager and create a session.

bash
# macOS
brew install tmux

# Ubuntu or Debian
sudo apt update
sudo apt install tmux
๐Ÿ“Œ tmux runs inside a terminal on Unix-like systems
๐Ÿ’ก Distribution packages can lag behind the newest tmux release
๐Ÿ” tmux -V prints the installed version
๐ŸŽฏ Name sessions so they are easy to identify and reattach
installpackage-managerversionsession

Continue with tmux

Save the full cheat sheet or work through every related task.

Back to the full tmux cheat sheet