

To open a new terminal instance with two tabs, each with two panes running a Command Prompt and a WSL command line, with each tab in a different directory: The new-tab and split-pane commands can be sequenced to get multiple tabs, each with split panes. WT -p "Command Prompt" split-pane -p "Windows PowerShell" split-pane -H wsl.exe

Open a new terminal instance with one tab containing three panes running a Command Prompt profile, a PowerShell profile, and your default profile running a WSL command line: WT -p "Command Prompt" new-tab -p "Windows PowerShell" Open a new terminal instance with multiple tabs: a Command Prompt profile and a PowerShell profile: Open a new terminal instance with multiple tabs: Open a new terminal instance, using the profile named "Ubuntu-18.04" (Substitute "Ubuntu-18.04" with the name of any terminal profile that you have installed.) Open a new terminal instance from cmd, using your custom " cmd" profile settings:

Open a new terminal instance from cmd, use the default profile and specify the starting directory for the console, as H: To work around this, you can run Start-Process WT and wrap all the wt parameters in single quotes (') so that everything is passed to wt unchanged. Unfortunately, PowerShell also uses as a command separator. Windows Terminal uses the semicolon character as a delimiter for separating commands in the wt command line. To avoid this delay, use Start-Process to run WT.exe. This is enabled by default with "useTabSwitcher": true (global setting).īy default, PowerShell (unlike CMD), will always wait for Windows Store applications (like WT.exe) to close before returning to the prompt. Ctrl+Tab and Ctrl+Shift+Tab will navigate between tabs. The keyboard shortcut Ctrl+Shift+P will open a command palette listing available commands. Windows Terminal is not yet capable of opening new tabs or panes in an existing instance. profile, -p will always open a new window. The first stable release of WIndows Terminal was v.0 / 2020-August-26 fullscreen, -F Launch the terminal Full screen. maximized, -M Launch the terminal maximized. Separate the options for each tab with ' ' If several tabs or panes are being opened, the commands above may be repeated, Split-pane, sp -H, -horizontal, -V, -vertical, startingDirectory, -d starting-directory, Windows Terminal with support for CMD, PowerShell, WSL and SSH. WT.exe Windows Terminal ( download from the Windows Store)
