hivemux quick start for Claude Code sessions
After installing hivemux, open Ghostty, run hm ~/code/api to start a project with Claude in window 1, and press Option+0 whenever a session is waiting for you. prefix then Shift+C adds another named Claude to the same project; prefix is Ctrl+A with the recommended keys.
Before you start
Section titled “Before you start”Install hivemux first: see Install. The examples use two folders, ~/code/api and ~/code/web; use your own. On Linux, read Alt for Option throughout (Alt+0, Alt+1). On a Linux server with no desktop, run tmux there instead of opening Ghostty, or connect to it from another computer with hivemux connect.
Six steps
Section titled “Six steps”- Open Ghostty. You are inside tmux: a status line at the top and the sidebar on the left. Right after the install,
hivemux setupopens Ghostty for you, and a folder picker asks for your first project:Entergoes into a folder, andTabstarts Claude in the folder you are in. - Open a project.
hm ~/code/api(or right-click → New project) opens project api with Claude running in window 1. - Open a second project.
hm ~/code/webopens another. The first keeps working in the background. - Watch the sidebar.
Option+0takes you to whatever is waiting for you. - Add a Claude.
prefixthenShift+Cadds another named Claude to the current project. - Close Ghostty whenever you like. Open it again and you are back where you were.
hm ~/code/apihm ~/code/webProjects, windows and panes
Section titled “Projects, windows and panes”hivemux maps tmux concepts to your work:
- Project = tmux session.
hm <dir>creates one session per folder, named after the folder, or switches to it if it already exists. Inside the folder, plainhmis enough. - Window = tab. A new project has
1:claude, which runs Claude asclaude -n <name>, and2:shellfor git, dev servers and other commands. Tabs live in tmux’s status line, not in Ghostty. - Sidebar. Every window has the same board on its left, showing every Claude in every project.
prefix s shows the session list; prefix then a window number switches windows. All keys are on the Keys page.
Reading the sidebar
Section titled “Reading the sidebar”
Each project is a grey tile under its name (with the Prism theme in Settings, in the project’s own colour), with how many of its Claudes wait (•1) and work (⋯3); each Claude is one line with a small mark, its name and a time. The project you are in has a blue ⬢ before its name. The sidebar’s top row counts all Claudes and how many need input, work and just finished (Claude 12 ● 2 need input ⋯ 3 running ✓ 4 done); the far left of the status line shows ⬡ hivemux.
| Mark | Meaning | What to do |
|---|---|---|
| ● needs input | Waiting for an approval or an answer. The line is amber, with why under it: approve · <what Claude runs or edits>, question · <the question>, plan, input or error; the time is how long it has waited |
Look at it first: Option+0 |
| ✓ done | Finished, not seen yet; the time is how long ago. After an hour it rests like idle | Check the result; it turns idle once you look |
| ⋯ running | Working (a spinner turns in its place); the time is how long it has run | Let it work |
| ◦ idle | Waiting for your next request; you have seen the result. The number on the right (142K) is how much context it carries |
Go there to give a new task |
The task you are looking at is the lighter line. Option+1 to Option+9 go to the first nine Claudes, in project order. When a Claude account other than the default one is in use, the status line shows ◉ <account> (Claude accounts).
Name your tasks
Section titled “Name your tasks”The task name shows above Claude’s input box, in the /resume list, in the Claude phone app and in the terminal title. hm uses the folder name, and prefix Shift+C uses the name you type in its popup. To rename a running task, double-click its line (or right-click → Rename); hivemux sends /rename to that Claude, waiting if it is busy.
When you start Claude yourself in a tmux pane, name it:
claude -n login-bugStart a project from the sidebar
Section titled “Start a project from the sidebar”Right-click the sidebar → New project opens a folder browser. Enter (or →) goes into the selected folder and ← back out, Tab starts the folder you are in like hm (as does Enter on ▶ Start here at the top), typing filters, and Ctrl+N makes a new folder and goes into it.

At the end of the day
Section titled “At the end of the day”Just close Ghostty. Running Claudes keep working inside tmux. After a reboot, tmux-resurrect restores the layout and hivemux resumes each pane’s conversation with claude --resume <id>. Sessions you ended with /exit are not resumed. Read more in Resume Claude Code sessions.
Next steps
Section titled “Next steps”- Keys: every shortcut and mouse action
- Teams: a team of Claudes with roles in one project, led by one of them
- Bee office: every session as a bee in an office window
- Claude accounts: switch to another account at the usage limit
- Work from another computer: continue from a laptop over ssh, on a Mac or a Linux server
- Claude Code notifications: how waiting and finished alerts work