Setup and safety

Pair another Mac or Windows PC with CmdBrief

Connect a second Mac or Windows PC over a direct encrypted LAN or Tailscale line: share workspaces, set up a Mac build computer, lend simulators and emulators via the Devices menu, and run Windows headless or as an early build computer.

  • Updated December 1, 2026
  • 10 min read
  • 4 primary sources
  • 5 steps
  • You act in steps 1, 2, 3, 4 and 5

Quick verdict

Quick verdict

  • Paired computers talk exclusively over a direct TLS 1.3 line (keys pinned at pairing) on your local network or Tailscale — workspaces, files, terminals, builds, and device mirrors never travel through CmdBrief Cloud.
  • A paired Mac can run remote workspaces, act as a Mac build computer (with Let builds run simulator tests off by default for process-isolation safety), and lend both iOS simulators and Android emulators through the Devices menu.
  • On the first Windows build, pair inside the desktop window first; you can then run headless with cmdbrief service install (Task Scheduler) or test early Windows build-computer support via cmdbrief builder launcher install in an administrator terminal.

What you get

What you get

Your primary Mac

  • Opens workspaces on any paired computer
  • Sends builds & tests to Mac or Linux build computers
  • Borrows iOS simulators & Android emulators via Devices

Second Mac or Windows PC

  • Runs its own local workspaces & leads
  • Mac: build computer + lends iOS simulators & Android emulators
  • Windows: headless serve task + early build launcher
Direct TLS 1.3 (Ed25519 pinned at pairing): shared LAN or Tailscale only

CmdBrief Cloud carries only three things between your computers: the list of computers on your account, the one-time PAKE pairing handshake, and each computer’s sealed local/Tailscale addresses. Everything else — workspaces, conversations, terminals, files, diffs, builds, and device mirrors — travels strictly over the direct encrypted line between the two machines.

If you are pairing a Linux machine instead, see Add a Linux build machine, Run your agents on a Linux server, or Use CmdBrief on a rented cloud machine. For mobile control over the cloud when away from your network, see Connect Grok Bot and answer agents from your phone.

Before you start

  • CmdBrief installed and signed in to the same account on both computers (approve the second computer in Settings › Computers; see Install CmdBrief).
  • Both computers on the same local network, or connected to the same Tailscale tailnet.
  • Any agent CLIs you plan to run on the second computer installed and signed in there (CmdBrief never copies CLI sign-ins between computers; see Connect your 7 coding agent CLIs).

Pair two Macs (or a Mac and a Windows desktop)

You do thisIn Settings › Computers on both machines

  1. On the computer you want to reach, open Settings › Computers and make sure Share with your other computers is on.
  2. On your primary Mac, open Settings › Computers, find the other computer in the list, open its More menu, and choose Pair with a code….
  3. On the second computer, CmdBrief shows who is asking and a 6-digit code. Type that 6-digit code into the sheet on your primary Mac. Pairing codes are single-use and kept away from agents.
  4. Choose the access level on the receiving computer: Full use (open workspaces, terminals, files, trigger remote updates, run builds, and lend devices) or Leads only (see and message leads without shell, build, or update access).

Once paired, the second computer appears in your sidebar and on the Computers page (with Leads | Usage switching between its agents and 15-minute to 7-day CPU/memory/disk/GPU charts). You can also open its Setup card to install/sign in CLIs, copy selected preferences with Match this Mac’s settings (sign-ins, keys, and folders are never copied), or move a workspace with Move to another computer… and Bring back.

Check it worked

  • Primary MacOpen Settings › ComputersThe paired computer shows a direct line and its chosen access level (Full use or Leads only).

Use a second Mac as a build computer

You do thisIn Settings › Computers on both Macs

A paired Apple silicon Mac with Full use can run your agents’ cargo, npm, pnpm, node, and xcodebuild jobs (including Swift packages with their own Package.swift scheme and build tool plugins) while your agents stay on your laptop.

  1. On your primary Mac, open Settings › Computers and click Set up a build computer… (or on the receiving Mac, turn on Take builds and tests from my other computers in Settings › Computers).
  2. The setup sheet pairs the Mac if needed, turns on Take builds and tests from my other computers, checks macOS, direct line, Rust, Node, and Xcode, and runs a Try it verification build.
  3. In any workspace’s Builds and tests menu (or Workspace settings › Builds and tests run on), leave Automatic on (it automatically picks a free build computer matching your Mac’s OS and chip) or name that specific Mac.

Sent builds run inside CmdBrief’s guard in a copy of the project with their own cache folder (builds-cache), so they cannot write your personal ~/.cargo/~/.npm caches or read your sign-ins, Keychain, or SSH sockets. They see only toolchains, caches, Git settings, and ~/Library/Developer unless you turn on Let runs read the whole home folder.

If a Swift package with a build tool plugin was already built on a Mac build computer before CmdBrief 0.5.99, clear that copy’s derived data once so xcodebuild picks up the fix (see changelog).

Lend iOS simulators and Android emulators via the Devices menu

You do thisOn the lending Mac, then in the workspace’s Devices menu

Beside Builds and tests in the workspace, lead, lead pane, and Stage menus sits the Devices menu (also available in Workspace settings). A paired Mac with Take builds and tests from my other computers, Full use, and Device Hub enabled can lend both iOS simulators and Android emulators — showing free slots right in the menu. See Device Hub: leased iOS simulators and Android emulators for the full Device Hub walkthrough.

  • iOS simulators (Mac-to-Mac and Mac-to-Linux): on a Mac, pick the lending Mac under Devices → iOS simulators (default is This computer). Agents’ simulators boot on the lending Mac, xcodebuild -destination 'platform=iOS Simulator,id=<udid>' runs there, and the live mirror streams into your Device panel. Local simctl and idb on the asking Mac cannot reach borrowed simulators (they report that plainly). On Linux, CmdBrief automatically points iOS simulator requests to your lending Mac.
  • Android emulators (Mac or Linux lender): pick a paired Mac or Linux build computer under Devices → Android emulators run on. The emulator runs headless on the lender, which inhibits idle sleep while lending (caffeinate on Mac — note a closed laptop lid still sleeps — or systemd-inhibit on Linux), and your agents’ adb commands reach it through an encrypted relay on the direct line.
  • If the connection drops: the last frame stays visible dimmed and the lender keeps the emulator reserved for 10 minutes before ending the lease.

Check it worked

  • Asking computerOpen Devices from the workspace or Stage menuPaired Mac/Linux lenders show "N of M slots free" under iOS simulators or Android emulators run on.

Run a Windows PC headless (Task Scheduler service)

You do thisOn the Windows PC (desktop window first, then PowerShell or cmd)

Just like headless Linux, a Windows PC can run CmdBrief with no window using cmdbrief-app.exe serve and appear to your Mac as a Windows server.

  1. Pair in the desktop window first: CLI write commands (pair, share, remote) are Linux-only. Open cmdbrief-app.exe in its window on Windows first, sign in, turn on sharing in Settings › Computers, and complete pairing with your Mac. Your pairing and settings persist after you quit the window.
  2. Install the Task Scheduler service: quit the CmdBrief window, then run cmdbrief-app.exe service install in PowerShell or Command Prompt. It creates a Task Scheduler task (CmdBrief) that runs serve with no window whenever you sign in to Windows (with no time limit and on battery too), creates a cmdbrief.cmd wrapper beside the executable, adds that folder to your user PATH, and starts the service right away.
  3. Manage the service: use cmdbrief service status, cmdbrief service stop (sends a clean shutdown event so interrupted agents are recorded), cmdbrief service start, or cmdbrief service uninstall. Logs write to %USERPROFILE%\AppData\Local\CmdBrief\logs\serve.log (rotated at 1 MiB, 5 files kept).
Set up and check headless CmdBrief on Windows (PowerShell or cmd)bash
cmdbrief-app.exe service install
cmdbrief service status
# To reopen Settings in the desktop window later:
cmdbrief service stop
# ...open cmdbrief-app.exe, change settings, quit it, then:
cmdbrief service start

Use a Windows PC as a build computer (early)

You do thisIn an Administrator terminal on the Windows PC

Windows build-computer support is early (verified locally on Windows; cross-computer builds from a Mac to Windows have not yet had broad testing). Because isolating a Windows build requires running it under a separate local Windows account, you install CmdBrief’s build launcher once in an administrator terminal as your normal user:

Install or check the Windows build launcher (Administrator PowerShell / cmd)bash
cmdbrief builder launcher install
cmdbrief builder launcher status
# To remove the launcher task later:
cmdbrief builder launcher uninstall
  • How isolation works: cmdbrief builder launcher install creates (or resets) a standard local user account named CmdBriefBuild that cannot open your user profile, processes, or desktop; stores its machine-DPAPI password under C:\ProgramData\CmdBrief\Launcher; copies the launcher to C:\Program Files\CmdBrief Build Launcher; registers the CmdBrief Build Launcher scheduled task; and stores remote project copies in C:\ProgramData\CmdBrief\Builds.
  • Turn on the switch: after installing the launcher, turn on Take builds and tests from my other computers in Settings › Computers on the Windows PC.
  • Re-run after every CmdBrief update: the launcher enforces an exact version match and refuses runs after an update until you run cmdbrief builder launcher install again in an administrator terminal.
  • Toolchains: runs execute as CmdBriefBuild, so install Rust, Node, or other build tools for all users (or under C:\Users\CmdBriefBuild). Note that cmdbrief builder status inspects the signed-in user’s toolchains.

What is still Coming soon on Windows

The Windows release is a first build. In Settings, unavailable rows are dimmed and marked Coming soon (“Coming to Windows in a future update.”). Here is the exact split as of CmdBrief 0.5.102 (see Features and CmdBrief CLI reference):

AreaStatus on Windows
Desktop window, Standard & terminal panes, WebView2 Browser panes, auto-updatesAvailable (first build; not code-signed yet)
Remote host (cmdbrief-app.exe serve, cmdbrief service install Task Scheduler)Available (pair in window first)
Acting as a build computer (cmdbrief builder launcher install)Early (re-run launcher install after each update)
Sending builds from Windows to another computerComing soon
Managed SSH (1Password SSH agent — see Managed SSH guide)Coming soon
Android emulators for agents (and iOS simulators always need a Mac)Coming soon (iOS stays Mac-only)
Taskbar status, sidebar system stats / CmdBrief metrics, Capture, Feature filmsComing soon
Custom connectors, plugins, deleting reports to Trash, “Only when I’m away” push filterComing soon
Voice wake phrase, speaking with no session open, ignoring PC audio in dictationComing soon
Windows feature availability

If it fails

  • Mac says “Connect both to the same network or to Tailscale”

    Direct lines never route through CmdBrief Cloud. Put both computers on the same LAN or confirm tailscale status shows both machines connected to the same tailnet, then click Try again.

  • Mac build computer refuses xcodebuild test with “That Mac runs tests on a simulator only with Let builds run simulator tests on…”

    You do this

    Either let the test fall back to your local Mac, or open Settings › Computers on the lending Mac and explicitly enable Let builds run simulator tests after reviewing the process-visibility tradeoff above.

  • Windows says cmdbrief pair or cmdbrief share on only works on Linux

    You do this

    Expected: CLI write commands are Linux-only. Stop the service (cmdbrief service stop), open cmdbrief-app.exe, configure pairing and sharing in Settings › Computers, quit the window, and run cmdbrief service start.

  • Windows build launcher refuses a build after a CmdBrief update

    You do this

    Open an administrator terminal as your user and run cmdbrief builder launcher install again so the launcher matches the updated CmdBrief version.

  • Paired computer’s Update button says Full use is required

    You do this

    Installing updates remotely requires Full use on that computer. Change access from Leads only to Full use in Settings › Computers on the paired machine.

Questions

Does traffic between two paired Macs or a Mac and Windows PC go through CmdBrief Cloud?

No. CmdBrief Cloud only exchanges your computer list, the one-time PAKE pairing handshake, and sealed addresses. All workspaces, files, terminals, builds, and device mirrors travel directly over TLS 1.3 with Ed25519 keys pinned at pairing, over your shared LAN or Tailscale.

Why is “Let builds run simulator tests” off by default on Mac build computers?

Running xcodebuild test against a simulator requires macOS sandbox permission to inspect other processes on that Mac, which exposes other programs’ command-line arguments and environment variables (including tokens an agent CLI was launched with) during the run. CmdBrief keeps it off until you deliberately allow it.

Can a Mac lend its Android emulators to a paired Linux computer or another Mac?

Yes. Turn on Take builds and tests from my other computers and Device Hub on the Mac (with Full use), then choose that Mac under Devices → Android emulators run on in your workspace. The emulator runs headless on the Mac and mirrors into the asking computer’s Device panel.

Does a headless Windows PC keep running CmdBrief after I sign out of Windows?

No. cmdbrief service install registers a Task Scheduler task that runs in your Windows user session while you are signed in. For an unattended machine that runs with nobody logged in, use a Linux server with sudo loginctl enable-linger $USER.

Still unsure? Write to [email protected] or use the contact form. Contact CmdBrief →

Primary sources

Provider terms and product behavior can change. Confirm plan, pricing, model, and permission details in the current official documentation.

We use cookies to analyze site usage.