Create and Rename Sessions in tmux
From the tmux cheat sheet ยท Sessions ยท verified Aug 2026
Create and Rename Sessions
Create a named session and rename it later.
bash
tmux new-session -s api๐ก Name sessions by project or task
๐ -d creates the session without attaching
๐ Session names must be unique on the server
โก Ctrl-b $ renames the attached session
sessionscreaterename
Continue with tmux
Save the full cheat sheet or work through every related task.