Skip to main content

Join a new Mac to your main machine

You end with the new Mac listed under Your private machines on your main machine and allowed to run workers.

  • SpecWithCode
  • 1:26
  • Any agent
  • Narrated, with captions

Recorded on SpecWithCode 1.0.47, 18 October 2026, added 19 October 2026. The current release is SpecWithCode 1.0.53.

Before you start: SpecWithCode on both Macs (the desktop app, or the npm package with Node.js 22.16 or later); Tailscale on both Macs, signed in to the same account, with MagicDNS and HTTPS certificates on.

Length 1:26Captions

Steps

  1. On the new Mac, open SpecWithCode. On How will you use this Mac, choose Join my existing machines.
  2. SpecWithCode checks that Tailscale is installed and signed in. Give this Mac the name your main machine will show, then choose Make the line.
  3. Copy the line. It works like a password, so paste it only on your main machine. Revoke this line cancels it.
  4. On your main machine, open Settings, Connections, paste the line under Add a machine and choose Add machine.
  5. When the Mac appears under Your private machines, choose Allow workers on its card. If it does not connect on its own, choose Connect machine first.
  6. Back on the new Mac, choose I pasted it and leave SpecWithCode running.
  7. Already set up the new Mac? Use Invite this machine under Settings, Connections. Without the desktop app, run npm i -g specwithcode, specwithcode service install and specwithcode fleet invite.

Transcript

Built from the caption file of the narration.

0:00 What you need

Add another Mac to SpecWithCode with one line. It takes about two minutes. The new Mac makes a line. Your main machine accepts it, over your private Tailscale network.

0:13 Join on the new Mac

On the new Mac, open SpecWithCode and choose Join my existing machines. SpecWithCode checks that Tailscale is connected. Give this Mac a name, then choose Make the line.

0:27 Copy the line

Copy the line. Treat it like a password: anyone with it can add this Mac. Once it's pasted on your main machine, choose I pasted it. This Mac is done. Leave SpecWithCode running, and finish on your main machine.

0:44 Add it on the main machine

On your main machine, open Settings, Connections, and paste the line into Add a machine.

0:52 Allow workers

When the Mac appears under Your private machines, choose Allow workers on its card. If it doesn't connect on its own, choose Connect machine first.

1:03 Already set up: Invite this machine

Already set up the new Mac? Use Invite this machine in Settings, Connections.

1:09 From a terminal: fleet invite

No desktop app? Install from npm. Run specwithcode service install to keep it running. Then run specwithcode fleet invite.

1:20 Recap

Join, make the line, add it, allow workers. That's it.

Download SpecWithCode for MacRead the reference

Learning path

Run SpecWithCode

Understand the setup, run a project through its coordinator, then add plans, memory and a second provider.

  1. See how SpecWithCode runs your agents

    2:54, SpecWithCode

  2. Start SpecWithCode with a coordinator and two workers

    1:48, SpecWithCode

  3. Run a project with a coordinator and workers

    1:29, SpecWithCode

  4. Plan, verify and schedule project work

    1:35, SpecWithCode

  5. Keep project memory and read honest usage

    1:06, SpecWithCode

  6. Continue a thread on Codex at a usage limit

    1:01, SpecWithCode

  7. Keep working when a provider runs out

    1:39, SpecWithCode

  8. Add a second machine

    1:13, SpecWithCode

  9. Join a new Mac to your main machine (this guide)

    1:26, SpecWithCode

  10. Finish a thread with a pull request and auto-merge

    1:19, SpecWithCode

  11. Let agents use a browser

    1:10, SpecWithCode

  12. One Chrome extension for every agent

    1:09, SpecWithCode

One more guide is planned for this path.

All tutorials