Terminate a session by name.
Section: Session lifecycle
Kill a session
bash
bash
tmux kill-session -t workExplanation
Closes all windows and panes in the target session.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Session lifecycle
Create a named session and first window
Name the session and initial window together.
Attach and detach other clients
Take over a session from other attached clients.