Shortcut

Terminal Close Other Tabs Shortcut

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

Quick Answer

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

Close Other Tabs

Windows

Closes every tab in the window except the one you are in.

Learn More

How to close other tabs in Terminal

  1. Open Terminal and go to where you want to close other tabs.

Terminal Close Other Tabs Shortcut for Windows

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

Terminal Close Other Tabs Shortcut for Mac

Press Option + Cmd + W.

Terminal Close Other Tabs 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 other tabs shortcut?

There's no direct keyboard shortcut.

Is there a Mac shortcut to close other tabs in Terminal?

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