Shortcut

Terminal Add a New Line Without Running the Command Shortcut

The Terminal shortcut to add a new line without running the command is Shift + Enter on Windows. We haven't confirmed a Mac shortcut for this yet.

Quick Answer

Windows
Shift+Enter
Mac
Not confirmed yet
Web
Not confirmed yet
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

How to add a new line without running the command in Terminal

  1. Open Terminal and go to where you want to add a new line without running the command.
  2. Press Shift + Enter on Windows.

Terminal Add a New Line Without Running the Command Shortcut for Windows

Press Shift + Enter.

Terminal Add a New Line Without Running the Command Shortcut for Mac

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

Terminal Add a New Line Without Running the Command 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 add a new line without running the command shortcut?

On Windows, press Shift + Enter.

Is there a Mac shortcut to add a new line without running the command in Terminal?

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

Does it work in Terminal for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify