Getting started
From download to reading a Claude Code session on your iPhone, then more machines.
On this page
What you need
- A Mac with macOS 26. A Mac that runs sessions (a host) needs Apple silicon. A Mac that only watches your other hosts, like a laptop, needs no host.
- Claude Code, installed and signed in on each machine that runs sessions. Swarmtower runs your own Claude Code; it does not provide one.
- tmux on each host. On a Mac:
brew install tmux. On Linux: your package manager, for examplesudo apt install tmux. - An iPhone with iOS 26, if you want Swarmtower on your phone.
- An Apple ID to sign in. Apple shares no name or e-mail with Swarmtower.
- Tailscale is optional. If it is installed on a host it must be signed in; without it, your devices reach that host through the relay. A host set up while Tailscale was installed keeps using it.
Install the Mac app
The Mac download opens with the first public release. Until then this section describes what you will do.
- Download Swarmtower for Mac from swarmtower.dev.
- Move Swarmtower to your Applications folder and open it.
The app keeps itself up to date: it checks once a day, and you can check now with in the Swarmtower menu. The host service on the Mac comes inside the app and updates with it.
First run
The first time you open the app, a setup window walks you through these steps. It remembers where you got to, and you can open it again later with in the app menu.
- Welcome. Choose Set Up Later to skip the window for now.
- Sign in with Apple. The account lets you reach your hosts from anywhere and keeps them together on all your devices. A new account's 14-day trial starts here (one trial per Apple ID). You can also choose Use without an account and sign in later in Settings › Account.
- What should this computer do? Choose Use This Computer as a Host to run Claude Code sessions on this Mac. If this Mac should only control your other hosts, choose that instead and skip the next step.
- Allow Swarmtower in the background. macOS asks once: in System Settings › General › Login Items, turn on Swarmtower, then choose Check Again. The host starts in a few seconds. If something keeps it from starting, such as tmux missing or Tailscale signed out, the window says what and how to fix it.
- Switch chat actions on. They start off on a new Mac host, so your iPhone and Mac can read its
sessions but not send messages or answers to Claude. Once the host runs, the page shows a command: run it
once in Terminal to reply and approve from your devices.
swarmtowerd actions on - Sync with your other hosts? Only on a Mac that joins an account that has other hosts; see Add a second Mac.
- Add your iPhone. See Add your iPhone. You can skip it and add it later.
- Done. The last page shows how to start a session.
Start a session
Two ways, both on a host:
- In the app, choose , pick a host and a project folder.
- In Terminal, in a project folder, run
claudeas you always do. The setup routes it through Swarmtower so the session shows up in the apps. If your shell has its ownclaudealias, runswtw-claudeinstead. If plainclaudeis not routed yet, the setup's last page shows the command that turns it on:
swarmtowerd setup -claude on
Each session shows its state with a mark and a word:
| State | Meaning |
|---|---|
| Needs you | Claude is waiting for you: a permission to give or a question to answer. |
| Working | Claude is working. |
| Done | Claude finished a turn you have not read yet. |
| Idle | Nothing new since you last looked. |
| Stuck | Something stopped the session, for example Login expired or API error. See Troubleshooting. |
Add your iPhone
The iPhone app is free. It opens to testers on TestFlight first; the link will be on swarmtower.dev.
With an account, the iPhone joins it and gets your hosts from it; you don't pair it with each host.
- Install Swarmtower on the iPhone, open it and sign in with Apple, with the same Apple ID as on the Mac.
- Your account already has the Mac, so the Mac approves the iPhone. On the iPhone, tap Ask to Join. On the Mac, Swarmtower shows "A device asks to join your account": choose Show the Code, check that the iPhone shows the same six digits, confirm on the iPhone and approve on the Mac.
- The hosts of your account then appear on the iPhone by themselves.
- Allow notifications, so the iPhone tells you when a session needs you.
Without an account (you chose Use without an account), pair the iPhone with the host instead.
The Mac's setup window shows a QR code on its Add your iPhone page; on the iPhone, tap
Scan QR Code and point it at the code (the iPhone's Camera app works too), or tap Enter Code
and type the code shown under the QR. Check that both show the same six digits and confirm on both. No Mac
app on the host? Run swarmtowerd setup in Terminal on it: it shows the same QR code.
A Mac without Tailscale that is in no account yet shows a code instead of a QR: on the iPhone, signed in to your account, go to Settings › Account, tap Pair by Code… and type it. The iPhone then reaches that Mac through the relay.
Add a second Mac
- Install the Mac app on the second Mac and sign in with the same Apple ID.
- Your account already has devices, so an Admin device of the account approves the new Mac (the first device you signed in on is one): open Swarmtower on your iPhone (or your first Mac), tap Show the Code, check that both show the same six digits, and approve. Your hosts then appear on the new Mac.
- Choose Use This Computer as a Host if this Mac should run sessions too.
- The setup may then offer Sync with your other hosts?: tick the folders to keep in sync between your hosts, or skip it. You can change this later in Settings › Sync.
A host in your account appears on every device of the account; you don't pair each one again.
Add a Linux host
Linux hosts run the same host service as a Mac, without an app: sessions and terminals, modules, sync and
updates. They need x86-64 or ARM64, systemd and tmux, and the installer needs curl and
minisign (it checks the download's signature with it). Install them first:
sudo apt install curl minisign tmux # Debian, Ubuntu
sudo dnf install curl minisign tmux # Fedora
Then run this as yourself, not as root:
curl -fsSL https://swarmtower.dev/install.sh | sh
The script:
- downloads
swarmtowerd, checks its signature against the Swarmtower release key and installs it in~/.local/bin; - runs
swarmtowerd setup, which asks what the Mac app asks: run Claude sessions here, your projects folder, whether to sync with your other machines, and whether your devices may send messages and answers to Claude here (chat actions); - installs a systemd user service, and
- prints a join link and the same link as a QR code, and waits.
Open the link on a Mac or iPhone that is signed in to your account: click it on the Mac, or scan the QR with the iPhone's Camera. The app shows "<machine> wants to join your account" with the name the machine gave itself. Choose Add and confirm with Touch ID or Face ID. The terminal prints Joined and the machine appears in your hosts.
If the link does not open the app on the Mac, open Settings › Account › Add Host… and paste it.
- A link works once, for one hour. For a new one, run
swarmtowerd joinon the machine. - Without Tailscale on the machine, it joins and works through the relay; it needs only outbound HTTPS. The web terminal in a browser needs Tailscale.
- Setup's questions can be answered up front:
curl -fsSL https://swarmtower.dev/install.sh | sh -s -- -projects ~/src -sync off - The host updates itself daily. Run the install command again to update at once.
Modules
Modules add tools to your hosts: they come from the signed Modules catalog in the app.
- Install once, runs everywhere. Installing a module from the Modules screen installs it on every host of your account. One sheet shows what it may do, and one Touch ID or Face ID approves it for all hosts.
- Leave a host out in Settings › Modules › module › Hosts. A module without a build for a host's system shows "Not available" there and is skipped.
- Updates install by themselves when the module asks for nothing new. If a new version wants more permissions, you approve it again, once for all hosts.
- A host that joins later gets your modules on its own.
The relay
Your devices reach your hosts directly when both are on your tailnet. Anywhere else, or for a host without Tailscale, the apps go through the Swarmtower relay. You don't turn it on; the app picks the way that works and shows it on the host, for example Through the relay.
- Traffic through the relay is end-to-end encrypted between your device and your host. The relay sees only how much passes and when.
- The relay is part of the subscription (and the trial). If a subscription ends, the apps show Relay: off (subscription) and reach hosts only over Tailscale; local sessions keep working.
- The relay has a daily limit. If it is reached, the app shows relay paused until a time.
Next: Troubleshooting · FAQ