Terminal Keyboard Shortcuts

Shortcut keys for the macOS Terminal app and the PowerShell command line. Every item below is clearly marked as a shortcut, command, or syntax reference.

Most Useful Terminal Keyboard Shortcuts

TerminalShortcut

Open a New Terminal Tab

Windows

Opens a new tab in the current Terminal window.

Learn More
TerminalShortcut

Complete a Command, Parameter or Path

Windows
Tab

Fills in a cmdlet name, parameter or folder path. Press Tab again to step through the matches.

Learn More
TerminalShortcut

Open a New Terminal Window

Windows

Opens a new Terminal window with your default profile.

Learn More
TerminalShortcut

Make the Fonts Bigger

Windows

Increases the text size in the Terminal window.

Learn More
TerminalShortcut

Switch to the Next Tab

Windows

Moves to the tab on the right.

Learn More
TerminalShortcut

Split the Window into Two Panes

Windows

Divides the Terminal window so two sessions show side by side.

Learn More
TerminalShortcut

Close the Tab

Windows

Closes the Terminal tab you are working in.

Learn More
TerminalShortcut

Add a New Line Without Running the Command

Windows
Shift+Enter

Starts a second line of input; the continuation prompt >> appears until you press Enter.

Learn More

More Terminal Keyboard Shortcuts

Terminal Shortcuts for Mac

Entries with recorded Mac keys are listed below. Official source links are on each reference page.

TaskTypeShortcut
Open a New Terminal TabShortcutCmd+T
Open a New Terminal WindowShortcutCmd+N
Make the Fonts BiggerShortcutCmd+Plus
Switch to the Next TabShortcutCtrl+Tab
Split the Window into Two PanesShortcutCmd+D
Close the TabShortcutCmd+W
Open a New Window with the Same CommandShortcutCtrl+Cmd+N
Open a New Tab with the Same CommandShortcutCtrl+Cmd+T
Show or Hide the Tab BarShortcutShift+Cmd+T
Show All TabsShortcutShift+Cmd+\
Open a New Remote ConnectionShortcutShift+Cmd+K
Show or Hide the InspectorShortcutCmd+I
Edit the Window TitleShortcutShift+Cmd+I
Edit the Background ColorShortcutOption+Cmd+I
Make the Fonts SmallerShortcutCmd+Minus
Go to the Next WindowShortcutCmd+`
Go to the Previous WindowShortcutCmd+Shift+`
Switch to the Previous TabShortcutCtrl+Shift+Tab
Close the Split PaneShortcutShift+Cmd+D
Close the WindowShortcutShift+Cmd+W
Close Other TabsShortcutOption+Cmd+W
Close All Tabs and WindowsShortcutOption+Shift+Cmd+W
Scroll to the TopShortcutCmd+Home
Scroll to the BottomShortcutCmd+End
Page Up in the ScrollbackShortcutCmd+Page Up
Page Down in the ScrollbackShortcutCmd+Page Down
Scroll One Line UpShortcutOption+Cmd+Page Up
Scroll One Line DownShortcutOption+Cmd+Page Down

Frequently Asked Questions

Which Terminal keyboard shortcuts are included?

Examples in this reference include Open a New Terminal Tab, Complete a Command, Parameter or Path (Tab), Open a New Terminal Window, Make the Fonts Bigger, Switch to the Next Tab.

Do Terminal shortcuts work on a Mac?

Mac key values are listed for 28 of the 40 entries. Use the value shown for the specific action; do not assume Ctrl can be replaced with Cmd. Each reference page links its official source.

What if a Terminal task has no keyboard shortcut?

Some reference pages include a menu alternative. When no equivalent is documented here, consult the linked official help rather than assuming a key combination.