Skip to main content
Back to Commands
Window ManagementPrefix + ,

rename-window

Short form: renamew

Rename the current window, or the window specified by -t.

Synopsis

bash
tmux rename-window [-t target-window] new-name

Options

FlagDescription
-t target-windowSpecify which window to rename

Examples

Rename current window to 'editor'

bash
tmux rename-window editor

Rename window 0 to 'main'

bash
tmux renamew -t 0 main

Default Keybinding

Prefix + ,

Default prefix is Ctrl+b

Pro Tips

  • Set automatic-rename off if you want names to stick
  • Use set-option -g automatic-rename off in your config