Kill tmux server and all sessions

sessions

// what it does

`tmux kill-server` shuts down the entire tmux server: every session, window, pane, and running process on that server socket is terminated at once. It's the nuclear reset for when tmux state is wedged or you simply want a clean slate. `kill-server` is also available from the tmux command prompt.

// shell

$ tmux kill-server

// tmux command

: kill-server

// gotcha

No confirmation and no recovery — everything on that socket dies immediately. Servers on other sockets (started with `-L name` or `-S path`) are separate and unaffected, so this only kills the default server unless you point it elsewhere.