tmux neww <shell-command>

Create a new window

Arguments

NameDescription
shell-commandA shell command to run when creating the window

Options

NameDescription
-aInsert the new window at the next index after target-window
-bInsert the new window at the next index before target-window
-dThe session does not make the new window the current window
-kKill the target-window if exist
-PPrint information about the new window
-SSelect window-name if exist
-c <start-directory>Specify a start directory for the window
-e <environment>Set environment variables
-F <format>Format output
-n <window-name>Start a new window with the given name
-t <window-name>The target window