A beginner-friendly guide to start using tmux effectively. Learn how to install, configure, and use tmux's essential features to enhance your terminal workflow.
Tmux is a terminal multiplexer that enhances your terminal experience by allowing you to:
"Once you start using tmux, you'll wonder how you ever lived without it. - alvin"
user@tmuxai:~$tmux
Independent workspaces that can be detached from and reattached to without losing your work. Great for long-running tasks.
Installing tmux is straightforward on most systems. Select your operating system below:
Install tmux with Homebrew package manager:
# Install Homebrew if you don't have it brew install tmux
If you use MacPorts:
sudo port install tmux
A tmux session contains windows (like tabs) and each window contains panes (split views).
The top-level container in tmux. Think of a session as a workspace that persists even when you disconnect.
Similar to tabs in a browser. Each window takes up the full terminal view within a session.
Split views within a window. Allows you to see multiple terminal instances simultaneously.
Now that you've learned the basics of tmux, take your skills to the next level with these resources.
A practical tmux cheatsheet for daily use. Covers essential commands for session control, window switching, pane splitting, and other common tasks.
A database of all tmux keyboard shortcuts with filtering by category. Find the exact shortcut you need.
Create a personalized tmux configuration. Customize prefix, keybindings, status bar, and more.