Shortcut

Terminal Close the Tab Shortcut

We haven't confirmed a Windows shortcut to close the tab in Terminal yet. On Mac, press Cmd + W.

Quick Answer

Windows
Not confirmed yet
Mac
Cmd+W
Web
Not confirmed yet
TerminalShortcut

Close the Tab

Windows

Closes the Terminal tab you are working in.

Learn More

How to close the tab in Terminal

  1. Open Terminal and go to where you want to close the tab.

Terminal Close the Tab Shortcut for Windows

We haven't confirmed a Windows shortcut for this yet.

Terminal Close the Tab Shortcut for Mac

Press Cmd + W.

Terminal Close the Tab 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 tab shortcut?

There's no direct keyboard shortcut.

Is there a Mac shortcut to close the tab in Terminal?

Yes: 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