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.