Windows Terminal puts PowerShell, Command Prompt, WSL and SSH sessions in one tabbed window. Most of its speed comes from keys you never see in a menu. This Windows Terminal cheat sheet lists the default shortcuts, the wt.exe arguments that open tabs and panes from a script, and the settings.json snippets worth copying.
It covers Windows 11 and Windows Server 2025, which ships Terminal with the Desktop Experience install. We checked every key and flag against the defaults.json and userDefaults.json files of Windows Terminal 1.25.3131.0, the stable build Microsoft released on 11 November 2026, and against the command line reference Microsoft publishes for it.
Windows Terminal cheat sheet: default keyboard shortcuts
Every key below works on a fresh install with no setup. Most come from defaults.json, the read-only file Terminal loads first, and three (Ctrl+C, Ctrl+V and Alt+Shift+D) come from the settings.json that Terminal writes for you on first launch. If one of those three stops working, check whether someone removed it from your own file, because the defaults file never had it.
Window and app
| Shortcut | What it does |
|---|---|
Ctrl+Shift+P | Open the command palette (every action, searchable) |
Ctrl+, | Open the Settings UI |
Ctrl+Shift+, | Open settings.json in your editor |
Ctrl+Alt+, | Open the read-only defaults.json |
Ctrl+Shift+N | Open a new window |
Alt+Enter | Toggle full screen (F11 also works) |
Win+` | Show or hide the quake drop-down window |
Alt+Space | Open the window system menu |
Ctrl+Shift+. | Show command suggestions |
Alt+F4 | Close the window and all its tabs |
Tabs
| Shortcut | What it does |
|---|---|
Ctrl+Shift+T | New tab with the default profile |
Ctrl+Shift+1 to 9 | New tab with profile 1 to 9 from the dropdown |
Ctrl+Shift+Space | Open the new-tab dropdown |
Ctrl+Shift+D | Duplicate the current tab |
Ctrl+Tab | Next tab |
Ctrl+Shift+Tab | Previous tab |
Ctrl+Alt+1 to 8 | Jump to tab 1 to 8 |
Ctrl+Alt+9 | Jump to the last tab |
Panes
| Shortcut | What it does |
|---|---|
Alt+Shift+D | Split and duplicate, direction picked by pane shape |
Alt+Shift+Plus | Split the pane to the right (side by side) |
Alt+Shift+Minus | Split the pane downward (stacked) |
Alt+Arrow | Move focus to the pane in that direction |
Ctrl+Alt+Left | Move focus to the pane you used before |
Alt+Shift+Arrow | Resize the pane in that direction |
Ctrl+Shift+W | Close the focused pane (or the tab, if it has one pane) |
Copy, paste and select
| Shortcut | What it does |
|---|---|
Ctrl+C | Copy the selection; with nothing selected it sends Ctrl+C to the shell |
Ctrl+V | Paste |
Ctrl+Shift+C | Copy (also Ctrl+Insert, or Enter with a selection) |
Ctrl+Shift+V | Paste (also Shift+Insert) |
Ctrl+Shift+A | Select all text in the buffer |
Ctrl+Shift+M | Mark mode: select text with the keyboard |
Menu | Open the right-click context menu |
Scroll, search and font size
| Shortcut | What it does |
|---|---|
Ctrl+Shift+F | Find text in the buffer |
Ctrl+Shift+Up | Scroll up one line (Down for down) |
Ctrl+Shift+PgUp | Scroll up one page (PgDn for down) |
Ctrl+Shift+Home | Jump to the top of the scrollback |
Ctrl+Shift+End | Jump to the bottom |
Ctrl+Shift+K | Clear the whole buffer, scrollback included |
Ctrl+Plus | Bigger font (Ctrl+Minus for smaller) |
Ctrl+0 | Reset the font size |
Two of these trip people up. Ctrl+Shift+W closes one pane, so a tab with three panes needs three presses, and only the last pane of the last tab takes the window with it. Ctrl+Shift+K clears the buffer from Terminal itself, which helps when a program is running and you have no prompt to type cls or clear into. For the Windows keys around Terminal (Snap, virtual desktops, Explorer), our Windows 11 keyboard shortcuts sheet covers the rest of the desktop.
Which wt.exe arguments open tabs and panes?
wt.exe (or just wt) starts Terminal from a shortcut, a script or the Run box, and it takes a chain of subcommands separated by semicolons. The syntax is wt [options] [command ; command ...], and a bare wt runs new-tab with your default profile. The tables follow the wt.exe command line reference on Microsoft Learn.
Window options
| Command | What it does |
|---|---|
wt -h | Show the help dialog (--help, /?) |
wt -M | Launch maximized (--maximized) |
wt -F | Launch full screen (--fullscreen) |
wt -f | Launch in focus mode, no tabs or title bar |
wt --pos 100,50 | Place the window at x,y on screen |
wt --size 140,40 | Open with 140 columns and 40 rows |
wt -w 0 nt | New tab in the most recent window |
wt -w -1 nt | New tab in a brand new window |
wt -w ops nt | New tab in the window named ops (created if missing) |
new-tab (nt)
| Command | What it does |
|---|---|
wt nt -p "Command Prompt" | New tab with a named profile |
wt nt -d C:\src | New tab starting in a folder |
wt nt --title Logs | Set the tab title |
wt nt --tabColor "#2e7d32" | Color the tab (#RGB or #RRGGBB) |
wt nt --colorScheme "Campbell" | Override the profile’s color scheme |
wt nt --suppressApplicationTitle | Keep your title when the shell tries to change it |
wt nt -p "Windows PowerShell" --appendCommandLine -- -NoLogo | Add arguments to the profile command; the -- lets wt pass on hyphenated ones |
wt nt ping 10.0.1.50 -t | Run a command line in the new tab |
split-pane (sp)
| Command | What it does |
|---|---|
wt -w 0 sp -V | Split vertically, new pane on the right |
wt -w 0 sp -H | Split horizontally, new pane below |
wt -w 0 sp -s .3 | Give the new pane 30% of the parent |
wt -w 0 sp -D | Duplicate the current pane |
wt -w 0 sp -p "Ubuntu" -d C:\src | Split with a profile and starting folder |
wt -w 0 sp --title build | Title for the new pane |
Focus, move and swap
| Command | What it does |
|---|---|
wt -w 0 ft -t 0 | Focus the first tab (focus-tab, zero-indexed) |
wt -w 0 mf left | Move focus left (move-focus; up, down, right, first, previous) |
wt -w 0 mp -t 1 | Move the active pane to tab index 1 (move-pane) |
wt -w 0 swap-pane right | Swap the active pane with its right neighbour |
The -w 0 in those rows matters. With the default windowingBehavior, a bare wt sp -V or wt mf left opens a brand new window and acts there, so from inside Terminal you aim it at the current window with -w 0. The same goes for wt nt when you want a tab rather than a window.
Chaining is where wt earns its place. From Command Prompt or the Run box, this opens one window with a PowerShell tab split against Command Prompt, plus a second green tab titled Logs that starts in C:\logs:
wt -p "Windows PowerShell" ; sp -V -p "Command Prompt" ; nt --title Logs --tabColor "#2e7d32" -d C:\logs
Each subcommand acts on the window built so far, so the order matters: the sp splits the first tab because it comes before nt. Swap them and the split lands in the Logs tab instead. Put this line in the Target field of a desktop shortcut and you get the same layout every morning with one click.
Why does a wt command with semicolons break in PowerShell?
PowerShell treats ; as its own statement separator, so it runs wt -p "Windows PowerShell" on its own and then tries to run sp as a PowerShell command. You get one plain window and an error about sp, which is the alias for Set-ItemProperty in Windows PowerShell. The fix is to escape each semicolon with a backtick so PowerShell passes it through to wt:
wt -p "Windows PowerShell" `; sp -V -p "Command Prompt" `; nt --title Logs
The other route is the stop-parsing token --%, which tells PowerShell to hand everything after it to the program untouched. It reads cleaner on long chains, but PowerShell variables after the token are no longer expanded, so use the backtick form when you build the command from $env: values:
wt --% -p "Windows PowerShell" ; sp -H -s .3 -p "Command Prompt"
Command Prompt, shortcut targets and the Run box need no escaping at all. Check these three things when a chain still misbehaves:
- Every semicolon in the PowerShell line has a backtick in front of it.
- Profile names match the dropdown exactly, quotes included, such as “Windows PowerShell”.
- A path with spaces after
-dsits inside double quotes.
Where is settings.json and what goes in it?
Press Ctrl+Shift+, to open the file directly, or hold Shift while you click Settings in the dropdown. The path depends on how Terminal was installed, and editing the wrong copy is the usual reason a change “does nothing”:
| Install type | settings.json path |
|---|---|
| Store or winget (stable) | %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json |
| Preview | %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json |
| Unpackaged (Scoop, Chocolatey, zip) | %LOCALAPPDATA%\Microsoft\Windows Terminal\settings.json |
Terminal reloads the file the moment you save, so you can keep it open in one pane and watch the change in another. Terminal injects a $schema line at the top, which lets VS Code flag a bad key or a missing comma as you type. Backslashes in paths must be doubled, as in C:\\src.
Global settings worth changing
These keys sit at the top level of the file, next to defaultProfile. The snippet turns on copy-on-select, opens new windows maximized, sends wt calls into the window you already have, and restores your tabs after a restart:
"copyOnSelect": true,
"copyFormatting": "none",
"launchMode": "maximized",
"windowingBehavior": "useExisting",
"firstWindowPreference": "persistedWindowLayout",
"startOnUserLogin": false,
windowingBehavior defaults to "useNew", so every wt call opens a fresh window until you change it. Set it to "useExisting" if you launch Terminal from scripts all day and want one window with many tabs. It’s the setting that makes a desktop shortcut or a scheduled script feel predictable, because the tab lands in the window you are looking at instead of somewhere behind it. launchMode also accepts "fullscreen", "focus" and "maximizedFocus".
Add or change a keyboard shortcut
Current builds split shortcuts into two arrays: actions defines what happens and gives it an id, and keybindings maps keys to that id. This pair adds Ctrl+Shift+O for a ready-made three-pane layout and adds Ctrl+W as a second “close pane” key next to Ctrl+Shift+W:
"actions": [
{
"command": {
"action": "wt",
"commandline": "new-tab -p \"Windows PowerShell\" ; split-pane -V -p \"Command Prompt\" ; split-pane -H -s .3"
},
"id": "User.DevLayout",
"name": "Dev layout"
}
],
"keybindings": [
{ "keys": "ctrl+shift+o", "id": "User.DevLayout" },
{ "keys": "ctrl+w", "id": "Terminal.ClosePane" }
],
Built-in actions already have ids such as Terminal.ClosePane and Terminal.OpenNewTab, and Ctrl+Alt+, opens defaults.json so you can copy the exact id. A key Terminal claims never reaches the shell, so Ctrl+W stops deleting a word in bash and stops driving Vim windows; skip that line if you live in either. To free a key without binding it to anything else, map it to null. Your "name" also appears in the command palette, so Ctrl+Shift+P then “Dev layout” runs it without the shortcut.
Defaults for every profile
Anything in profiles.defaults applies to every profile unless a profile overrides it. This is the place for font, color scheme and history size, so you set them once instead of in each shell:
"profiles": {
"defaults": {
"font": { "face": "Cascadia Mono", "size": 12 },
"colorScheme": "One Half Dark",
"historySize": 20000,
"cursorShape": "bar"
},
"list": [ ]
}
Leave the existing list entries in place when you paste this; the empty brackets above only show where the array sits. Cascadia Mono and the One Half Dark scheme both ship with Terminal, so the snippet works on a fresh install without extra downloads.
How do you set up PowerShell and WSL profiles?
Terminal builds profiles for you. On first launch it writes Windows PowerShell and Command Prompt into settings.json, and it generates “dynamic” profiles for PowerShell 7, each WSL distro, Azure Cloud Shell, Visual Studio shells and SSH hosts whenever it finds them installed. You don’t add those by hand: install the shell and restart Terminal. PowerShell 7 comes from winget, which our winget guide for Windows 11 and Server 2025 sets up:
winget install --id Microsoft.PowerShell -e
A WSL distro shows up the same way once wsl --install -d Ubuntu finishes, and the WSL cheat sheet covers the distro side. To make one of the new profiles the default, open Settings with Ctrl+,, pick it under Startup, Default profile, and save. In JSON the same thing is one line that takes the profile’s name or GUID:
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
That GUID is the built-in Windows PowerShell profile, and the Command Prompt one is {0caa0dad-35be-5f56-a8ff-afceeeaa6101}. Dynamic profiles get their own GUIDs, so copy those from your file rather than from a blog post.
Profile settings people ask for most
A profile entry in profiles.list takes the same keys as defaults, plus a few that only make sense per shell. This one adds an “Admin PowerShell” profile that always opens elevated, starts in C:\src and skips the logo banner:
{
"name": "Admin PowerShell",
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -NoLogo",
"startingDirectory": "C:\\src",
"elevate": true,
"tabColor": "#b71c1c"
}
Elevated and normal tabs can’t share a window, so opening this profile from a normal window spawns a second, elevated window after the UAC prompt. The red tabColor is there so you can tell at a glance which window has admin rights. Before you rely on a profile, check that:
- The profile appears in the new-tab dropdown after you save the file.
- A WSL profile with
"startingDirectory": "//wsl.localhost/Ubuntu/home/harrison"opens in your Linux home, not in/mnt/c. - Profiles you never use carry
"hidden": true, which keeps them out of the dropdown without deleting the entry. - Generators you never want, such as Azure Cloud Shell, are listed in
"disabledProfileSources": ["Windows.Terminal.Azure"].
The wt flags work with any of these names, so wt -p "Admin PowerShell" opens the elevated profile straight from the Run box. If wt itself is missing on an older machine, our guide to install Windows Terminal covers the Store, winget and offline packages.
How do you open a quake drop-down terminal?
Press Win+` (the key under Esc on a US layout) and Terminal slides a window down from the top of the screen; press it again and the window hides. The same window opens from a command, which is handy in a startup script:
wt -w _quake
Only one quake window exists at a time, and with windowingBehavior set to "useExisting" new wt tabs skip it, so scripts never drop tabs into the drop-down. The Microsoft docs warn about one trap: if you remove the quakeMode binding and then minimize the quake window, the only way to close it is Task Manager. Before you change anything here, check that:
- Some key is still bound to the id
Terminal.QuakeModeinkeybindingsor in the defaults. - Your keyboard has a physical key left of
1, since the default binding is the scan codesc(41)for that position, whatever character your layout prints on it.
On a compact or laptop keyboard without that key, bind the action to one you can actually reach, such as "keys": "win+f12", and test that the window drops down and hides again before you rely on it in a startup script.
How do you reset Windows Terminal to its defaults?
Close every Terminal window, then delete settings.json and state.json from the folder in the path table above. Terminal rebuilds both on the next launch with the stock profiles and shortcuts. Deleting only settings.json is not enough, because state.json keeps window layout and dismissed prompts that survive the reset. From PowerShell, rename them instead so you keep a copy:
$wt = "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState"
Rename-Item "$wt\settings.json" settings.json.bak
Rename-Item "$wt\state.json" state.json.bak
On Windows 11 a Start menu PowerShell opens inside Terminal, so run those lines from a console Terminal doesn’t host: press Win+R, type conhost.exe powershell.exe, and close every Terminal window first. Renaming the two files in File Explorer works just as well. On a Preview or unpackaged install, change $wt to the matching path from the table.
Windows Terminal setup checklist
A new Windows 11 or Server 2025 machine takes about five minutes to get to a comfortable Terminal. Work down this list and check each result before moving on:
Ctrl+Shift+Popens the command palette, which confirms you are in Terminal and not the old console host.- PowerShell 7 and your WSL distros appear in the new-tab dropdown after a restart of Terminal.
- Your preferred shell opens on
Ctrl+Shift+Tbecause it is set asdefaultProfile. - Font, color scheme and history size live in
profiles.defaults, so every shell looks the same. - A desktop shortcut or a custom action opens your usual tab and pane layout in one step.
Win+`shows and hides the quake window.
For most people, the pane keys and one saved layout give the biggest daily win, and the rest of this sheet is there for when you need it. The Windows Run commands sheet pairs well with it, since wt runs from the same Win+R box. We’re adding more Windows command and shortcut sheets next to the WSL and Windows 11 ones.