What
/terminal-setup adjusts your terminal so that Shift+Enter adds a new line instead of sending your message. It now gives more specific advice:
- Inside tmux: it tells you to add extended-keys lines, such as
set -s extended-keys on, to~/.tmux.conf, tmux's settings file. - In an older Windows Terminal: it says Shift+Enter needs Windows Terminal 1.25 or later and suggests Ctrl+J instead.
Before, it could just say "No configuration needed. Just use Shift+Enter to add newlines." Several other messages were reworded.
Why
In these terminals, Shift+Enter often did not add a new line even after setup said it would. The command now tells you what to change or which key to use.
Names in the bundle/terminal-setup
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on Configure your terminal for Claude Code touched a line naming /terminal-setup after this was published.
> `/terminal-setup` and the first-run terminal setup prompt enable this setting only on macOS 26 and earlier. Both also turn off your profile's audible bell.terminal-config see the edit
Confirmed since
Anthropic's documentation has since written up /terminal-setup, on Claude Code changelog.
* Fixed `/terminal-setup` in Zed replacing a symlinked `keymap.json` with a plain filechangelog see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up /terminal-setup, on Claude Code changelog.
Anthropic's release notes agree
Fixed /terminal-setup not naming the tmux settings that Shift+Enter needs, and promising Shift+Enter in Windows Terminal before 1.25, where…