veraldar / start / add a computer
Add a Mac beta
Where it stands: tested on a real Mac up to the point of joining. The join itself, approved on a phone, is the next test.
A Mac with Apple silicon (M1 and later). It runs as your user, in its own folder, with its own main session. It dials out to your trunk, so it needs no open port.
What you need
- Your home computer and phone set up (start), and your trunk's address.
- Apple's command-line tools, once. In Terminal:
xcode-select --install
A window asks to install them. Already there? It says so, and you go on.
Join
curl -fsSLO https://github.com/veraldar/yggdrasil/releases/download/v0.9.1/join.sh bash join.sh --hub https://trunk.example.org
It asks which model this computer thinks with (below). Same as the home root is the default: nothing to type.
You see a QR code and a short code. Scan the QR with your paired phone. Check that the code on the phone is the same, then tap Add to my tree.
It ends joined and running. On your phone, the Mac is in your list, with its own main session.
It starts when you log in to the Mac. If the Mac does not log in by itself after a restart, it starts at your next login.
Model provider
The install asks which model this computer thinks with. One step, the same on every system.
- Same as the home rootThe default when you add a computer. When you approve it on your phone, your home computer hands it its own model settings over the private line between your computers, encrypted end to end: your server sees only encrypted bytes. The new computer keeps them and calls the provider itself, so it keeps thinking when the home computer is off.
- Z AIAsks only for your Z AI API key and fills in the rest. Model:
glm-5.3-flash, orglm-5.3,glm-5.2. - OpenRouter, Anthropic, OpenAIEach asks only for its API key and fills in its address and a model.
- OtherAny OpenAI- or Anthropic-compatible API: address, kind (
openaioranthropic), model, key. A model on your own network is Other, with the key left empty.
The model shown is the provider's default, and you can change it. The key is never shown after you type it and never written to a log.
Good to know
- Everything it keeps is in
~/.local/share/yggdrasil-root. It leaves the rest of your Mac alone, and uses ports nothing else is using. - Intel Macs are not in this release.
- Remove:
bash join.sh --uninstallhere, then hold it in the list on your phone and remove it there.