To create a new window in tmux, press Ctrl+b followed by c. You can also use the command tmux new-window or its shorthand tmux neww.
Windows in tmux are similar to tabs in a browser. They allow you to have multiple terminal views within a single tmux session. Each window can have its own layout, commands, and purpose, making it easy to organize your work.
Ctrl+b c - Create a new window with default nameCtrl+b , - Rename the current windowCtrl+b & - Kill the current window (with confirmation)tmux new-window or tmux neww - Create a new windowtmux new-window -n name - Create a window with specified nametmux new-window -c /path/to/dir - Create window in specific directorytmux new-window command - Create window and run commandCtrl+b n - Next windowCtrl+b p - Previous windowCtrl+b 0-9 - Go to window by number (0-9)Ctrl+b w - Choose window from a listCtrl+b f - Find window by nameCtrl+b . - Move window to a different indexCtrl+b l - Switch to the last active windowCtrl+b ' - Prompt for a window index to select Use tmux new-window -d 'command' to create a new window in the background running a specific command. This is useful for starting long-running processes without switching away from your current window.