Ghostty with a Chrome-style vertical tab sidebar: one window, one Dock icon, every Claude Code session as a tab, coloured by status (needs you, running, finished, idle, shell) and sorted by name so rows stay put. Give a session one of 20 colours and its row and terminal both take it. Ctrl-Opt-J jumps to the next session waiting for you.
Help: cloudscale.consulting/ghostty-dock (also Help → Ghostty Dock Help, ⌘?).
You need a Mac with Apple silicon (M1 or newer) and macOS 13 or later.
-
Open Terminal (press Cmd-Space, type
Terminal, press Return). -
Paste this line and press Return:
curl -fsSL https://raw.githubusercontent.com/andrewbakercloudscale/ghossty-dock/main/get.sh | bash -
Ghostty Dock opens by itself. It is in
~/Applicationsfrom then on.
- It downloads the latest release, installs it and opens the app. Nothing is built, and macOS does not ask before opening it.
- macOS 15 and later include everything it needs. On macOS 13 or 14, run
brew install jqfirst. - No Claude Code yet?
curl -fsSL https://claude.ai/install.sh | bash - To update: About → Update, or paste the line again.
- Not allowed to take software from GitHub? Your organisation can serve it from its own S3 bucket, build it on each Mac and sign it with its own Developer ID: see For organisations.
- To remove:
bash ~/.local/share/ghostty-dock/install.sh --uninstall && rm -rf ~/.local/share/ghostty-dock - About → Share with a friend (or Help → Share Ghostty Dock with a Friend…) sends the install line by Messages, WhatsApp, Mail or AirDrop.
Needs Xcode (for swift and xcodebuild); the build fetches Ghostty and zig itself.
git clone https://github.com/andrewbakercloudscale/ghossty-dock.git && cd ghossty-dock
./install.sh # hooks, opener, Finder Quick Actions, app
scripts/build-terminal.sh # rebuild the app only
ghostty-dock-move --detach # move sessions from separate Ghostty apps into tabs
Ghostty 1.3.1 needs Zig 0.15, which can't link against some newer macOS SDKs
(every libSystem symbol comes back undefined). The build then retries against
the newest older SDK it finds. If there is none, install Command Line Tools
for an earlier Xcode from developer.apple.com, or name one:
GHOSTTY_DOCK_SDK=/Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk ./install.sh.
The prebuilt release (get.sh) needs none of this.
scripts/release.sh # build/release/Ghostty-Dock-<version>.zip
scripts/release.sh --publish # and a GitHub release with it
The zip holds the app, the scripts and install.sh, which installs the
ready-built app instead of building one. Beside it the release carries
Ghostty-Dock-src.tar.gz (the same commit's source, for Macs that build;
source.env in it says which version it is) and latest.json (the version,
commit and changes, which mirrors serve), each with a .sha256. With DEVELOPER_ID (a "Developer ID
Application" certificate) and NOTARY_PROFILE (xcrun notarytool store-credentials) set, it is signed and notarized and opens anywhere;
without them it is signed for this Mac only, and other Macs must allow it in
System Settings → Privacy & Security first (get.sh downloads with curl,
which macOS does not quarantine, so it opens either way). Installed from a
release, Update checks GitHub's latest release and installs it with get.sh.
Without a Developer ID, install.sh re-signs the app with the Mac's own
"Ghostty Dock Local" certificate (scripts/sign-local.sh, which creates and
trusts it once, asking for the login password). macOS's privacy service
rejects a signature from a certificate the Mac does not trust and keeps
switching Full Disk Access back off, so every session asks for every folder.
A Developer ID build keeps its own signature.
Where your Macs get Ghostty Dock from is up to you. Three settings decide it:
| Default | Or | |
|---|---|---|
Source (url) |
GitHub's latest release | your S3 bucket (s3://bucket/prefix, read with the aws CLI, so it can stay private) or any HTTPS folder (https://bucket.s3.eu-west-1.amazonaws.com/prefix) |
Mode (mode) |
download: the ready-built app |
build: the release's source, compiled on each Mac (needs Xcode) |
Signature (signers, sign_identity) |
the maintainer's certificate, re-signed with the Mac's own "Ghostty Dock Local" | any identity you choose, such as your Developer ID |
1. Fill the mirror on one trusted Mac, after reviewing the release:
scripts/mirror.sh --to s3://acme-tools/ghostty-dock \
--sign "Developer ID Application: Acme Ltd (AB12CD34EF)" --notary-profile acme
It downloads the latest release from GitHub (or --version 1.0.317), checks
its checksums and that the maintainer signed it, re-signs it with your
identity (and notarizes it with --notary-profile), and uploads:
Ghostty-Dock.zip, Ghostty-Dock-src.tar.gz, get.sh, their .sha256s, a
copy of each under its version, and latest.json last, so a Mac never sees
a version whose files are not there yet. --out DIR writes the files to a
folder instead, for your own upload or web server. --sign and
--notary-profile are optional: without them the mirror serves the
maintainer's signature unchanged. Run it again for each release you approve;
Macs see nothing new until you do.
It also writes an update.conf for your Macs, for example:
url = s3://acme-tools/ghostty-dock
mode = download
signers = 3f2a…c9 # SHA-1 of the certificate the mirror signed with
sign_identity = Developer ID Application: Acme Ltd (AB12CD34EF)
2. Point the Macs at it. Either deploy that file with MDM as
/Library/Application Support/Ghostty Dock/update.conf, which users cannot
override, or install each Mac from the mirror, which saves the same settings
in ~/.config/ghostty-dock/update.conf:
aws s3 cp s3://acme-tools/ghostty-dock/get.sh - | bash -s -- \
--url s3://acme-tools/ghostty-dock --signer 3f2a…c9
From then on About → Update checks the mirror's latest.json, not
GitHub, and says where it looks ("Version 1.0.317 is available from
s3://acme-tools/ghostty-dock").
The settings, strongest first: the managed file, then environment variables
(GHOSTTY_DOCK_UPDATE_URL, _UPDATE_MODE, _SIGNERS, _SIGN_ID,
_AWS_PROFILE), then the user's file. get.sh options set the user's file:
get.sh option |
update.conf key |
What it does |
|---|---|---|
--url URL / --github |
url |
Where releases come from (https:// or s3:// only) |
--download / --build |
mode |
Install the ready-built app, or compile on this Mac |
--signer SHA1 (repeatable) |
signers |
The only certificates a downloaded app may be signed by; replaces the maintainer's |
--sign-identity NAME |
sign_identity |
The keychain identity this Mac signs with |
--aws-profile NAME |
aws_profile |
The AWS profile s3:// is read with |
ghostty_git, zig_url, cef_url |
Build mode only: your mirrors of Ghostty's source (a git URL), the Zig compiler (a folder holding zig-aarch64-macos-0.15.2.tar.xz) and Chromium (a folder holding the CEF build browser/build.sh names) |
What gets checked. Every download must match the SHA-256 published beside
it. A ready-built app must have an intact signature from a certificate in
signers (the maintainer's if you name none), or nothing is installed; a
mirror that re-signs therefore needs its certificate in signers, and
get.sh names the certificate it found when it refuses one. A build is
checked by its checksum only, since this Mac signs it. Chromium is checked
against the SHA-1 browser/build.sh pins, wherever it comes from.
Building on the Mac (mode = build) unpacks the source into
~/.local/share/ghostty-dock, builds it with scripts/build-terminal.sh and
signs it with sign_identity (else the Mac's own "Ghostty Dock Local"). The
first build fetches Ghostty, Zig and Chromium (about 3 GB with build files,
several minutes); later updates reuse them. Unless you set ghostty_git,
zig_url and cef_url, those come from github.com/ghostty-org, ziglang.org
and Spotify's CEF CDN, and Zig fetches Ghostty's own dependencies from their
upstream hosts while building. If no Mac may reach those, use download
mode: it touches nothing but your mirror.
Your own signature. sign_identity can be any codesigning identity in
the Mac's keychain (security find-identity -v -p codesigning). A Developer
ID with a notarized mirror opens without any Gatekeeper prompt. macOS keeps
Full Disk Access and folder permissions per signature, so the first time the
identity changes Ghostty Dock asks for them again: grant Full Disk Access to
the new build before restarting into it. Maintainers releasing to GitHub use
DEVELOPER_ID and NOTARY_PROFILE with scripts/release.sh instead.
It is Ghostty 1.3.1 plus patches/ghostty-dock.patch, built as
~/Applications/Ghostty Dock.app. A Claude Code hook (bin/ghostty-dock-hook)
reports each session's status.
| Icon | Colour | Means |
|---|---|---|
| ? (pulsing) | peach | needs you: a question or permission prompt |
| ✓ | blue | finished, not looked at yet |
| moon | mauve | idle |
| spinning arrows | green | running |
| terminal | teal | plain shell, no Claude Code |
-
Under "Sessions", a counter per state (needs you, running, finished, idle, shell, and undocked when there are any) shows how many tabs are in it.
-
Click a row to switch to it; ✕ closes it; + opens a new tab.
-
Each row shows its status, how long it has been in it, and context size (e.g.
168k ctx: the tokens its last reply read, so you can see which sessions are near compaction). -
Compact (⤡, above Restart; or right-click → Compact (Pauseless)) types
/compact-asyncinto the session, so Claude Burst's Pauseless Compaction summarises it in the background and swaps the summary in with your next prompt. Only while the session is at its prompt (finished or idle), so it never answers a question or queues behind a running turn. Needs Claude Burst: without it the button offers to set it up (see below). -
Restart (↻, beside Undock; or right-click → Restart Session) stops claude and resumes the same session in a fresh tab at once. Same as
ghostty-dock-move --restart <session id>. -
Drag the sidebar's right edge to make it wider or narrower, from 240 to 520 points (double-click the edge to reset to 320). When it is narrow, "16 Sessions" shortens to "16" so the header buttons keep their size.
-
Busy rows step in: a running session, or one waiting on a script, is indented 20 points (28 when selected), so the busy ones stand out down the list. The selected row steps in 14 points when idle, so its raised card sits inside the list instead of against the edge.
-
"Shell still running" badge: while a session is waiting on a shell command, script or background agent, a pulsing orange capsule at the top right of its terminal says so ("2 shells still running"). Clicks go through it.
-
⌘V pastes an image into Claude Code: with only an image on the clipboard (a screenshot, say), ⌘V sends Claude Code's own Ctrl-V, so you no longer need to remember it. Text pastes as before.
-
Images (at the foot of the sidebar): the selected session's pasted images, the newest two. Swipe with two fingers over them (or turn the scroll wheel) to step back and forward one at a time; "3–4 of 51" shows where you are, and clicking it goes back to the newest. More shows them all in a grid; click one to open it.
-
Click a row's Undock icon (↗, beside ✕; or right-click → Undock) to move that session out to its own Ghostty window: claude is stopped and resumed there at once.
-
Undocked: Claude Code sessions in their own Ghostty windows are listed under the tabs, grey with a dashed outline. Click one to show its window, or its Dock icon (↙) to restart it in a tab here at once. Same as
ghostty-dock-move --pid <pid>,--undock <session id>,--detach. A Ghostty window with only shells in it is listed there too, with what its tabs are running (such as a backup script). Its Dock icon waits for that to finish (moving a running shell would stop it), then opens a shell tab here in each tab's folder and closes the window. Same asghostty-dock-move --shells <pid>. -
⌘⇧J (Ctrl-Opt-J from any app): jump to the next session that needs you (then finished ones).
-
The window title (the session's name) sits in the middle of the title bar.
-
Dock badge: how many sessions need you.
-
What it's waiting on: a row that needs you shows the question, or the tool call to allow ("Allow Bash: npm test"), so you know before you switch.
-
Answer without switching: a permission has Allow and Deny under it, and a single-choice question one button per choice. The notification has the same buttons (hover it, or Options). A button only answers the wait it was drawn for, never a newer prompt.
-
Two sessions in one folder each show "Same folder as …" in orange, as both can edit the same files. Click it, or right-click → New Session in a Worktree…, for a session in its own copy of the repo (
claude --worktree <name>: a new branch in.claude/worktrees/<name>). -
History (the bar at the foot of the sidebar): sessions closed in the last 3 months; click one to reopen it. Its search matches names, folders and, from three letters, what was said in them, with the line it was said in. Open sessions it was said in show under "Open now"; click to go there. ⇅ beside the search flips it to oldest first. A click anywhere else folds it away.
-
Cost: each row ends with what the session has cost so far, subagents included, priced like the Cost Sidebar below. Off in Settings.
-
Branch, pull request and ports: a line under each row like
main ↑2 ●3 · #42 · :3000(commits not pushed, files changed, the open PR viagh, ports the session's processes listen on). Right-click to open the PR or the port. Off in Settings. -
View Changes (right-click, or click the git line when files changed): what the session changed, to review before you keep it. Since It Started shows every change since the session began, its commits listed above the files (another session's commits in the same folder show too); Uncommitted shows only what is not committed yet. Tick the files to keep, write a message and Commit (⌘↩): only the ticked files are committed, and anything else staged stays staged. Right-click a file to Discard its changes (asks first; a new file goes to the Trash).
-
Spend alerts and a cap (Settings, Notifications, Spend): a notification when a session passes $25 and when today passes $100, again at each multiple, and, if you set one, a cap that stops a running session's turn (Escape, as you would press it). Type to carry on; it stops again at the next multiple. Spend already over at launch is not told.
-
A glowing ring around a row that needs you.
-
Notifications when a session needs you or finishes, unless you are looking at it. Click one to go to its tab. Each can be turned off. The 🔔 in the header lists the last 200; going to a session marks its ones read. Right-click a row → Mute Notifications to silence one session (no macOS notifications and no window raising; 🔕 on its status line, and the 🔔 list still gets its lines). Each notification is titled with the session's name.
-
The tab you are in has a gold ring; other running sessions have a chrome one. A glint runs round the ring while the session works.
-
Esc stops a turn: Claude Code runs no hook when you interrupt it, so the Dock reads the transcript and shows the session as idle within a few seconds.
-
Header buttons each have their own colour; point at one and the counters line says what it does, so no tooltip covers a button.
-
Loading screen at startup: a turning gold ring and "Loading…" with how many sessions are back, until they all are (Skip to dismiss).
-
Filter by state: click a counter under the header (needs you, running, finished, idle, shell) to show only those sessions; click it again to show all.
-
Find (⌘P or the magnifier): type part of a name, folder or question; ↑↓ and Return. Closed sessions are in the list too.
-
Agents (⌘⇧A or the 👥 button): the 👥 button turns green with a count while your sessions' agents are running. Four tiles at the top (spending now, today, agents running, sessions that need you; click that one to go to it), then Agents used today: each session that used agents today, how many and what they cost, most first (click one to go to it), then Background runs today:
claude -pruns with no tab (git hooks, scripts, compactions) by project, with their agents and cost, then every subagent your sessions have started, one row each, grouped by session: what it is doing, type, model, tool calls, tokens, cost and how long ago. Busy sessions without agents show as "working on its own". Live, Today or All at the top right; point at a row for the token breakdown, click it to go to its session. (An agent is a helper a session starts with Claude Code's Agent tool: its own context, often in the background or its own worktree.) The ? explains how to prompt for them (say subagents, parallel, background or worktree) and how to make your own (/agents or .claude/agents/*.md). Set Up lists every agent Claude Code can start (yours in ~/.claude/agents, each open project's .claude/agents, the plugins' and the built-in ones) with how often each ran, and lets you change yours: the description Claude chooses by, model, colour, tools, tools it may not use and its instructions. New agent (+), Duplicate as Mine (to customise a plugin's), Open in Editor, Move to Trash. Find Agents (third tab, or the button at the top of Set Up) has 647 ready-made agents from Plexiform's catalogue by Callum Baker: four MIT collections (agency-agents, VoltAgent, wshobson, 0xfurai), pinned and hash-checked, with risky instructions flagged. Search or pick a kind, tick the ones you want and press Install (Return): they go to the selected session's project (.claude/agents there), or pick ~/.claude/agents for every project, or another open project. Each shows what it does, a warning if it can run commands or use every tool, its instructions, and how to use it: "Use the code-reviewer agent to …" (Copy), or Start a Session as It (claude --agent <name>in a new tab). Remove puts it in the Trash. Installed files are as their authors wrote them, named by their slug and with dated model ids swapped for sonnet/opus/haiku.scripts/import-agent-catalog.pyrefreshes the catalogue from a Plexiform checkout; licences are in Resources/agent-catalog. A Spend line shows how fast money is going across every open session, agents included:$/hr now (last 10 minutes), last hour, today's average $ /hr, today, and tokens a minute.New to agents? See Agents: getting started.
-
Usage pane (⌘⇧I, or Settings → Sidebar): a side panel at the right of each Claude session, on until you hide it (× asks first; ⌘⇧I brings it back; shell tabs hide it, and ⌘⇧I on one shows it there too). » folds it to a slim strip of cost, context and $/hour; drag its edge by the grip to widen it. Three tabs:
-
This Session: what it has spent (agents too), its $/hour and turns.
Context shows the size once, large, with the share of the window in
brackets (
97k (10%)), coloured like a traffic light with a label: green Healthy, amber Near auto compaction (70% of the way to compaction) or Expensive (40% of the window), red Auto compaction soon (90%) or Wasteful (70% of the window); "79% of the way to auto compaction" under it. Under it, the context by part against the window, with where it gets expensive, wasteful and compacts. Then Turns, newest first (20, then More, All and Fewer), coloured as in the old panel (context: green, yellow over 30%, red over 50%, purple over 70%; cache under 95% red, under 90% purple; a row turns yellow or red when it wrote 1.5× or 2× the session's average, or when the context was sent again in full; a compaction row is blue). Then charts of context and cost per turn (hover for a turn), what stands out (when to /compact, growth per turn, a pause that cost a cache rewrite, cache hit, costly turns), today across every session (spend and where the day will end, what pauses cost, a typical day by hour, the 5-hour block and its burn rate, each session's spend, the costliest turns and why), and the plan and Claude Burst: its route, today's requests and recent alerts, failures in red. Without Burst it links to setting it up. - Long Term: spend by day over 7, 30 or 60 days against the span before, the peak, this week and month, a pie by model, projects over 30 or 7 days, and this Mac's memory.
- Scripts: every command a Claude session is running, with a count on the tab (green while any run). A summary tile on top gives the totals across every session: commands running, sessions, CPU and memory. Then this tab's session comes first, then the others by their newest command; each session's commands are grouped, newest first. Each shows how long it has run, its CPU and memory (everything it started counted), its busiest process, and a Stop button that ends it and all it started (asks first).
Read from Claude Code's transcripts (the first 60-day read takes a minute or so, then only what is new). Claude Burst makes the context breakdown and compaction point exact when it runs here. The pane replaces the Claude Code Cost Sidebar: with that text panel installed, Ghostty Dock asks once, at launch, whether to swap.
-
This Session: what it has spent (agents too), its $/hour and turns.
Context shows the size once, large, with the share of the window in
brackets (
-
Daily Recap (⌘⇧Y or the 📅 button): what the day's sessions did. Tiles for spend, how long Claude worked, prompts, sessions, files changed and commits, then one card per repo (sessions in its subfolders and worktrees count toward it), most spent first: each session by its first prompt (click to go to it, or reopen it if closed), the files Claude edited, and your commits that day on any branch. ‹ › step back through earlier days, and the PDF button saves the day as A4 pages and opens them. Read from the transcripts and git when it opens; nothing is tracked.
-
Reopen closed (⌘⇧T): within a few seconds Ghostty brings the tab back as it was; after that, the session is resumed in a new tab with its old flags.
-
Right-click a row to rename it, pin it to the top or give it a colour. These stick to the session, across restarts.
-
Child Terminal Here… (right-click) opens a plain shell in the session's folder, for what you must type yourself (
sudo, a password). It is listed under the session, with a dotted line, whatever the sort;exitcloses it, and you land back on its session. Right-click a child → Stand on Its Own to make it a row like any other, for good. -
Colour a session with the 🎨 header button, right-click → Colourise (pick straight from the menu) or right-click → Colour…: 20 colours that sit well together. Its row is tinted in it and its terminal's background takes a little of it, so you can tell at a glance which session you are typing in. None takes it off. Settings → Sidebar → Session colours sets how strongly: Subtle (a pale wash), Vivid (about half the colour) or Electric (the row filled with the full colour, its text dark or light to read, and a much stronger terminal tint). The third row of the picker holds the 7 electric colours.
-
Drag rows by the ⋮⋮ grip on their right to put them in your own order (the sort becomes "As you drag them"), or right-click → Move Up / Move Down.
-
Groups (Settings): fold rows under their folder (the project's parent folder) or their colour. Click a heading to fold it; a folded group still shows how many need you. Right-click a heading → Rename Group… to name it after a client or project (group by colour, then colour each project's sessions alike); Use the Default Name puts it back.
-
Mark as Unread (right-click an idle session) shows it as Finished again, to come back to; it reads when you go to it or when it does something new. A finished one has Mark as Read.
-
Overview (⌘⇧O or the ▦ button): every session on one screen, needs you first. Each tile shows its status, cost, the question it is asking and the last lines of its screen, with Allow/Deny or the choices for a question, or a Reply box that types into it and presses Return (while it runs, the message queues). Click a tile's name to go to its tab. Needs you or finished hides the rest.
-
Old login: after you log in to Claude as someone else, sessions started before still use the old account (Remote Control goes quiet). The sidebar says how many; Resume Them… resumes each in a fresh tab with its flags, so
--remote-controlkeeps its name. -
After a logout or login window crash, the tabs come back but what runs in them is still in the ended login (no network lookups, Keychain, clipboard or opening apps). Each Claude session there is resumed in the current login, once it has been quiet for a while, with its flags and conversation; checked every minute. Plain shells are left as they are.
-
macOS permissions in one go: until Full Disk Access and Notifications are granted, the sidebar shows Grant All. It asks for notifications, then opens Full Disk Access in System Settings, which covers every Desktop, Documents, Downloads and drive prompt for the app and what its tabs run. At launch without Full Disk Access (a new Mac), Ghostty Dock starts no session or shell until it is on: it opens that page and waits, so a new install never shows a storm of folder prompts. Continue Without goes on anyway. Settings, App, Permissions lists each one. An ad-hoc signed build loses these at each rebuild; a stable signing identity (
scripts/sign-id.sh) keeps them. -
Permissions skipped (Settings, on by default): new, restarted, moved and reopened sessions start with
--dangerously-skip-permissions, unless given a--permission-mode. Saved asCLAUDE_PANEL_BYPASS_PERMISSIONSin~/.config/claude-panel/options, whichghostty-claude-launcherreads too. -
Agents wait for a pause in your typing (Settings, App, on by default): before an agent drives Chrome, a Playwright browser or the mouse, a small panel at the top right says which session and what it is about to do ("Chrome: navigate https://…"), and the agent waits until you have not typed or moved the mouse for 10 seconds (3–60 in Settings). The panel never takes focus, so you can finish what you are typing. Go Now lets it go at once and Not Now tells the agent to carry on without the screen. Its next actions within 30 seconds go straight on, and reading a page or a desktop screenshot never waits. A command that opens a page (
open https://…,gh … --web, a script calling Python'swebbrowser.open) waits the same way, before the page comes up: the gate also checks Bash commands and is theBROWSERof Claude's commands. It is theghostty-dock-screen-gatehook; without the app running it is a notification. -
Remote Control reconnects by itself (Settings, App, on by default): when a session's Remote Control drops because the server was unreachable or the connection kept dropping, Ghostty Dock types
/remote-controlinto it once it is idle at an empty prompt and you are not typing in it. It tries again after 1, 5, 15 and 30 minutes, up to 6 times in a row. Drops that need you (another device took over, the session was ended elsewhere, your login changed) are left alone. Each try is logged to~/.local/state/ghostty-dock/rc-reconnect.log. -
Remote Control names (Settings, off by default): every five minutes, each running session's title on the phone is set to its repo, so the phone's AI titles are undone. The title lives on Anthropic's server, and neither
--remote-control <name>nor a rename from the Mac changes one the phone already has, soghostty-dock-rc-titlessets it there with the call Claude Code itself makes, using your Claude login from the Keychain. It is an internal API and may change. Sessions are not restarted; the grey line under each title is the phone app's. -
Markdown is rendered, with tables, task lists and highlighted code blocks.
-
Source and text files show with line numbers and highlighting, and are never run: a ⌘-clicked
.shused to offer to run it in Terminal. -
Images and PDFs show as they are.
-
HTML files, web links and anything else open in their usual app, as before.
Right-click → View on selected text does the same without ⌘: a selected
file name opens in the viewer, a folder is listed there (click a file to open
it in a tab of its own, a subfolder to list it), and a selected web link opens
in the browser beside the terminal. It works on a name relative to the
terminal's folder and on path:12. The terminal's right-click menu has no
Split items; the View menu and its keys still split.
It reloads as the file changes, keeping your place. Each file is a tab; ⌘-click an open one to bring it to the front. ⌘⇧E hides and shows it, and the bar has reload, Show in Finder, open in its usual app, and × to close it and its files. Drag its left edge to resize it.
⌘-click works in Claude Code too, though it has the mouse: Ghostty Dock
looks for links whenever ⌘ is held, which no program sees. A name relative to
the terminal's folder works. ghostty-dock view <file> opens one from a
script, and every Claude Code session in a dock tab is told it can show you a
file this way.
ghostty-dock drives the running app, for scripts and other agents:
ghostty-dock list # status, name, branch, ports, cost, id
ghostty-dock focus aws-cli # go to its tab
ghostty-dock send aws-cli "run the tests" --enter # type into it
ghostty-dock keys aws-cli esc ctrl-c # press keys
ghostty-dock read aws-cli --lines 20 # what is on its screen
ghostty-dock wait aws-cli 'passed|failed' --timeout 600
ghostty-dock notify "Deploy done" "prod is on 1.4.2"
ghostty-dock open ~/code/repo --command claude # a new tab
ghostty-dock browser --show # start this tab's browser and show it
ghostty-dock url http://localhost:3000 # open a page in this tab's browser
ghostty-dock view docs/plan.md # show a file in this tab's viewerA session is named by its session id, its name in the sidebar, its folder or
the start of its name. Requests go through files in
~/.local/state/ghostty-dock/api, a folder only you can open.
Settings → Theme picks one of 43, in three groups: Dark (Catppuccin,
TokyoNight, Dracula, Nord, Gruvbox, Rose Pine, Kanagawa, Everforest, One Half,
GitHub, Monokai Pro, Ayu Mirage, Material Ocean), Electric (Synthwave,
Cyberpunk, Shades Of Purple, Laser, Neon, Electron Highlighter, Cobalt Neon,
Andromeda, Poimandres, Night Owl, Fairyfloss, Matrix, Red Planet, Hot Dog
Stand) and Light (Catppuccin Latte, GitHub, Rose Pine Dawn, Solarized,
Gruvbox, TokyoNight Day, Ayu, Flexoki, Everforest). The terminal and
the sidebar change together, in every window. The default follows the theme
in your Ghostty config. Your Ghostty config is never edited: the choice is
written to ~/.local/state/ghostty-dock/theme.conf, which only Ghostty Dock
loads.
Five tabs: Sidebar (with Compaction), Theme, Notifications, Shortcuts and App.
| Setting | Default | What it does |
|---|---|---|
| Show the sessions sidebar | on | The tab list on the left. Off gives you plain Ghostty tabs. |
| Sort | Alphabetical | Alphabetical: by name, rows never move. Needs you first: needs you, then most recently idle, running last. Running first: running, then needs you, then idle. Tab order: as the tabs are arranged. As you drag them: your own order; dragging a row switches to it. |
| Groups | No groups | Fold rows under their folder (the project's parent folder) or their colour. Pinned rows get a group at the top. |
| Show what each session has cost | on | The $ figure at the end of each row's status line. |
| Show git branch, pull request and ports | on | The line under each row's status. |
| Also show Ghostty's tab bar | off | Ghostty's own tab strip along the top, as well as the sidebar. |
| ⌃⌥J jumps to the next session that needs you | on | A global hotkey, from any app. With none waiting it goes to the next finished one. |
| Dock icon shows how many sessions need you | on | The red badge on the Dock icon. |
| Notify me when a session needs me / finishes | on | macOS notifications, not for the session on screen. If Claude Code already notifies you through the terminal, turn one off. |
| Bring the window to the front when a session needs me / finishes | on | Un-minimises Ghostty Dock and shows that session's tab, over whatever app you are in. Never while you are already looking at Ghostty Dock, so it can't switch tabs as you type. It waits until you have not typed or moved the mouse for 10 seconds, then a note at the top of the screen says it is coming up in 3 seconds (Show now, Not now; typing puts it off again). The window then fades in as it rises into place over about a second and a half. |
| …only once no session is running | on | Holds the window back until every session is idle or waiting on you, so it comes up once, when there is nothing left to wait for. |
| Tell me when a session passes / today passes | $25 / $100 | A notification and a line in the 🔔, again at each multiple. Off turns it off. |
| Stop a session's turn when it passes | Off | Presses Escape in a running session that passes the amount (costs are read every 15 seconds, so it can land a little past it). Type to carry on; the next stop is at the next multiple. |
| Reopen Claude sessions when Ghostty Dock starts | on | The app records its open sessions every 10 seconds; after a quit, crash or update they come back as tabs with claude --resume. Sessions already running elsewhere are skipped. |
| Keep tabs running when Ghostty Dock quits | on | Every tab runs in a small holder (ghostty-dock-hold, inside the app) instead of in the app itself. Closing a tab ends what runs in it, as usual; a quit, crash or restart does not. Shells, dev servers and Claude sessions carry on, and the next app reattaches a tab to each, replaying the last 4 MB of its output so scrollback and search still work. Applies to tabs opened after you change it. |
| Keep the Mac awake while sessions run | on | New, resumed and moved sessions start under caffeinate -i, so the Mac does not sleep mid-turn (the display still can). Saved as CLAUDE_PANEL_CAFFEINATE in ~/.config/claude-panel/options. |
| Open Ghostty Dock at login | off | Adds it to macOS Login Items. |
| Version / About and Updates… | The version, and an Update… button when GitHub has something newer. | |
| Edit Ghostty Config… | Fonts, colours and keys live in Ghostty's own config file. |
Unlike stock Ghostty, programs cannot draw a progress bar along the top of
the window: Claude Code shows one sliding for its whole turn, which
distracted from the text, and the sidebar already shows which sessions are
working. Put progress-style = true in the Ghostty config to have it back.
The sidebar width is set by dragging its edge, not here. The settings are
ordinary macOS defaults (defaults read consulting.cloudscale.ghosttydock).
About is the last tab of Settings (⚙︎ at the top of the sidebar, or Ghostty
Dock → About Ghostty Dock, Help → About Ghostty Dock, or Check for Updates…). It shows the version
(1.0.<commits> and the commit it was built from), who made it, and links.
It checks GitHub (or your organisation's mirror, see
For organisations)
5 seconds after launch and then once a day; Check for Updates… checks at once. When there is
something new, a banner at the top of the sidebar has one Update button
(no dialog) and a What's new link listing every change since your version.
While it installs the banner shows progress; then it offers Restart, or
Try Again if the install failed. The sidebar's ⚙︎ also turns green and
flashes (click it for About). Update runs scripts/update.sh --install in the clone the app
was built from: pull, rebuild, install, then restart once your sessions are
quiet (they are resumed as tabs). Installed from a release, it downloads the
latest instead. With neither the clone nor a release install on the Mac (the
app was copied there, or its clone was moved or deleted), it uses the updater
inside the app (Contents/Resources/updater), which checks releases and
installs the latest with get.sh; from 1.0.319 on, every app can always check.
Log: ~/.local/state/ghostty-dock/update.log.
The Restart button (↻) is always at the top of the sidebar; it turns
into a filled green circle when a newer build is installed under the running
app (for example after scripts/build-terminal.sh --no-open). It asks first, then restarts once
no session has been busy and you have not typed for 10 seconds (a key press
starts the 10 seconds again), and reopens them as tabs. While it waits, a
flashing red ⏳ replaces the Restart button and an orange line under the
header says what for: "Restart waits for ghostty-dock to finish", then a
countdown ("Restarting in 8s"). Click the ⏳ to restart now (what is running
is interrupted) or cancel the restart.
With Keep tabs running on, a restart only waits for the sessions that are not held (tabs opened before you turned it on). Held tabs are never stopped: the app goes, and the new one reattaches them.
Because held sessions keep running, a restart does not give them anything
new (a login, Claude Burst's certificate, a setting). For that the Restart
dialog has Clean Restart…: each Claude session is asked to write a
handover (goal, what is done and uncommitted, next steps, your instructions)
to ~/.local/state/ghostty-dock/handovers/. Once all have (15 minutes at
most; the orange line says who it waits for), Ghostty Dock and every tab,
held tabs and shells included, stop and start again, and each session comes
back as a new conversation in its folder, with its flags, reading its
handover. Old conversations stay resumable (claude --resume <id>); a
session that wrote no handover is resumed as usual.
The Usage pane (see Sidebar) is built in and does what the Claude Code Cost Sidebar did, inside Ghostty Dock: cost, $/hour, context by part, cost per turn, today, the long term and the plan. The Cost Sidebar is still the one to use in other terminals.
Claude Burst is a
free local gateway for Claude Code. With it, each row's Compact button
compacts that session in the background (Pauseless Compaction): the summary
swaps in with your next prompt, so you never sit through /compact.
Without Burst, Compact (or Settings → Compaction) offers Set Up Claude Burst, which opens a tab running its one-line setup. Claude Code says what will change and waits for your go-ahead:
claude "$(curl -fsSL https://raw.githubusercontent.com/andrewbakercloudscale/claude-burst/main/SETUP_PROMPT.md)"
With Burst set up, Settings → Compaction has Repair (burst-repair),
Turn Off… (burst-off: back to plain Claude Code) and Turn On
(claude-burst enable). Each runs in a new tab so you see it work and can
type a password if asked.
bash tests/hook-test.sh # the Claude Code hook
bash tests/screen-gate-test.sh # agents wait for a pause in your typing
bash tests/browser-tools-test.sh # the browser note, dock-browser tools and $BROWSER
bash tests/restart-test.sh # split tabs come back split after a restart
bash tests/update-config-test.sh # update source config, mirror check (offline)
bash tests/crash-report-test.sh # crash reports found and made readable (macOS)
bash tests/viewer-test.sh # the file viewer's page (macOS, after a build)
swift test --package-path tests/dock-logic # sidebar order, groups, cost (after a build)
bash tests/patch-test.sh --latest # the patch still applies to Ghostty
bash tests/leak-test.sh [--live] # memory leaks (--live measures the running app)
GitHub Actions runs them all on every push, and the patch check every Monday against the newest Ghostty release.
- A restart or restore checks every session started; one that didn't is opened
once more, and any still missing are listed in
~/.local/state/ghostty-dock/missing-sessions.tsv. The sidebar then shows "N sessions didn't come back" with Reopen (same asghostty-dock-restart --reopen-missing) and Dismiss, and a macOS notification says so. - A restart while the screen is off waits for it to come on: terminals opened with the screen off can't start.
- A tab whose terminal failed to start says why and offers Try Again (same command, folder and environment) or Close Tab; its row reads "Didn't start". Failed tabs try again by themselves when the screen wakes, and a session already running again elsewhere only has the dead tab closed, so it never runs twice.
- Every step, with the screen state, app pid and PATH, is logged in
~/.local/state/ghostty-dock/restart-dock.log.
- The app logs failures (a save, a helper script or
git/ghthat failed or ran over its time limit, a file it could not write) and key events (restores, restarts, moves, reopens, updates). See them in Console.app (searchghosttydock) or withlog show --last 1h --predicate 'subsystem == "consulting.cloudscale.ghosttydock"'. - The scripts log to
~/.local/state/ghostty-dock/(restart-dock.log,update.log,move-to-dock.log). A few minutes after the app starts these are cut to their last 2000 lines, and notes older than a week are removed.
Every crash is written down, and the next launch shows it:
- macOS writes a crash report for Ghostty Dock (and for a tab's holder,
ghostty-dock-hold, whose crash closes that tab) in~/Library/Logs/DiagnosticReports, with the crashed thread's stack. An uncaught exception's reason and stack are also written as it happens, to~/.local/state/ghostty-dock/exception.txt. - A few seconds after the next launch, Ghostty Dock finds the reports newer
than the last one it showed, adds each, readable, to
~/.local/state/ghostty-dock/crashes.log, and opens a Ghostty Dock crashed window with the newest: what happened, the version and the stack. Copy Report puts it on the clipboard to send; Report on GitHub… opens a new issue with it filled in; Show in Finder shows the macOS report.
bash tests/crash-report-test.sh checks the reader against made-up reports.
scripts/undo.sh --list # what it would reopen
scripts/undo.sh # do it
Reopens every Claude Code session that the move or restart scripts stopped,
each in its own stock Ghostty app with claude --resume <id> and its original
flags. Running sessions are left alone. It also brings Ghostty back to the Dock
and Cmd-Tab, restores the Finder Quick Actions, and makes ghostty-dock-open
use stock Ghostty again. --sessions-only skips those settings.
Sessions come from ~/.local/state/ghostty-dock/sessions-snapshot.tsv, written
before anything is stopped, and from the scripts' logs. Pass session ids to
reopen specific ones.
./install.sh --uninstall removes everything.
Quit or restart Ghostty Dock while sessions run in it: that ends them. Use
scripts/restart-dock.sh, which waits until they are quiet and resumes them.






