Download Beam

How to Rename Terminal Windows and Tabs on macOS

February 2026 • 4 min read

If you've ever stared at a row of terminal tabs all named "zsh" or "bash" trying to remember which one is running your dev server, you're not alone. This is one of the most common frustrations for developers on macOS.

This guide covers how to rename terminal windows and tabs so you can actually find what you're looking for.

The Problem with Default Terminal Names

By default, most terminal apps on macOS name tabs after the running shell (zsh, bash) or the current directory. When you have 10+ terminals open, they all look the same:

Good luck finding your API server in that mess.

Option 1: Terminal.app (Built-in macOS Terminal)

The default macOS Terminal has limited renaming options:

  1. Click Shell → Edit Title in the menu bar
  2. Or use the escape sequence: echo -ne "\033]0;Your Title\007"

The problem? The title often gets overwritten when you run commands or change directories. It's not persistent.

Option 2: iTerm2

iTerm2 handles this better:

  1. Double-click the tab to rename it
  2. Or right-click → Edit Session Name
  3. Or use ⌘⇧I to edit

iTerm2 names are persistent within a session, but you'll need to rename everything again when you restart.

Option 3: Beam (Recommended)

Beam was built with naming as a first-class feature. Here's how it works:

Rename Tabs

Rename Workspaces

Rename Split Panes

The Best Part: Names Persist in Layouts

When you save a layout in Beam, all your names are saved too. Restore a layout and everything comes back exactly as you named it. No more re-naming terminals every time you start work.

Keyboard Shortcuts Summary

Action Shortcut
Rename current tab ⌘⇧I
Rename current workspace ⌘⌥I
Rename current split pane ⌘⌥⌃I
Save layout (with names) ⌘S

Naming Best Practices

Here are some tips for naming terminals effectively:

Use Descriptive Names

Use Consistent Prefixes

If you have multiple related terminals, use prefixes:

Include the Action

What is this terminal doing?

Why This Matters

Good terminal naming isn't just about aesthetics. It's about:

Stop Hunting Through "zsh" Tabs

Download Beam and give your terminals the names they deserve.

Download Beam for macOS

Summary

Renaming terminal windows on macOS is possible in most apps, but Beam makes it easiest with:

Your future self (trying to find that one terminal at 2am) will thank you.