Shortcut
Terminal Close the Window Shortcut
We haven't confirmed a Windows shortcut to close the window in Terminal yet. On Mac, press Shift + Cmd + W.
Quick Answer
- Windows
- Not confirmed yet
- Mac
- Shift+Cmd+W
- Web
- Not confirmed yet
TerminalShortcut
Close the Window
Closes the whole Terminal window, including its tabs.
How to close the window in Terminal
- Open Terminal and go to where you want to close the window.
Terminal Close the Window Shortcut for Windows
We haven't confirmed a Windows shortcut for this yet.
Terminal Close the Window Shortcut for Mac
Press Shift + Cmd + W.
Terminal Close the Window Shortcut for Terminal Web
We haven't confirmed a Terminal Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Terminal close the window shortcut?
There's no direct keyboard shortcut.
Is there a Mac shortcut to close the window in Terminal?
Yes: Shift + Cmd + W.
Does it work in Terminal for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify