Skip to main content

Installation Guide

Comprehensive installation methods for every major platform — from package managers to manual compilation.

Verified Jun 2026 for tmux 3.6b
5 min read
beginner

macOS

macOS has three reliable installation paths. Homebrew is recommended for most users.

bash
brew install tmux

MacPorts

bash
sudo port install tmux
Works on both Intel and Apple Silicon (M1/M2/M3).

Linux

tmux ships in every major distribution's package repositories.

Ubuntu / Debian

bash
sudo apt install tmux

Fedora / RHEL

bash
sudo dnf install tmux

Arch Linux

bash
sudo pacman -S tmux

Windows (WSL2)

Run full tmux on Windows through the Windows Subsystem for Linux.

bash
# PowerShell (Admin)
wsl --install
 
# Inside WSL
sudo apt update
sudo apt install tmux

WSL2 is the only fully-supported Windows approach. Cygwin provides limited legacy support.

Advanced: compile from source

Building from source unlocks the latest features and custom configurations.

bash
# Install dependencies (Ubuntu/Debian)
sudo apt install libevent-dev ncurses-dev build-essential bison pkg-config
 
# Download and compile
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
sudo make install
 
# Verify installation
tmux -V  # A master build reports 3.6 or newer

Verify your installation

After installing by any method, confirm tmux is on your PATH:

bash
tmux -V