# /terminal-setup Command

> It makes Shift+Enter give you a new line.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /terminal-setup, Shift+Enter newline

## Think of it like

It is like you fix a stuck key, so it works the way you want.

## Definition

/terminal-setup sets up your terminal so Shift+Enter starts a new line in the prompt. It does not send it. It works in VS Code, Cursor, Alacritty, Zed and a few more. In Apple Terminal it turns on Option+Enter for new lines, and turns off the bell. In iTerm2 it lets Claude Code use the clipboard, so /copy works.

## Example

Each time Jack hit Shift+Enter, his prompt was sent half done. Now Shift+Enter gives him a new line.

## Example code

```console
/terminal-setup
```

Set up new lines and the clipboard for your terminal.

## Why it matters

Long prompts with several lines are easy to write instead of being sent too soon.

## Common mistake

Running it in a terminal it does not know. Some do this on their own, and some need a change made by hand.

## Three principles

- **New lines.** Shift+Enter.
- **Per terminal.** VS Code, Zed and more.
- **Clipboard too.** In iTerm2.

## Related terms

- [/copy Command](https://learn.benibix.com/term/ai/copy-command)
- [Terminal](https://learn.benibix.com/term/infrastructure/terminal)
- [/keybindings Command](https://learn.benibix.com/term/ai/keybindings-command)

## Taught in

- [Theme, View and IDE](https://learn.benibix.com/learn/ai-claude-code-commands/theme-view-and-ide): Claude Code Commands, 10/17

---

Source: https://learn.benibix.com/term/ai/terminal-setup-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
