veraldar / start / add a computer
Add a Linux computer
Where it stands: tested end to end on a clean Debian 12, from this release's own files, with a phone approving it. A join over a rented trunk on the open internet is the next test.
Any other Linux computer you own (x86_64), at home or elsewhere. It dials out to your trunk, so it needs no open port. It runs as your user, with its own main session.
What you need
- Your home computer and phone set up (start), and your trunk's address.
- A few packages. On Debian or Ubuntu:
sudo apt install curl ca-certificates openssh-client python3
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 computer is in your list, with its own main session.
It keeps running when you log out, and starts with the computer. If it says it could not turn that on: sudo loginctl enable-linger $USER.
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
- Its name in your tree is the computer's name. Another one:
--name NAME. - Everything it keeps is in
~/.local/share/yggdrasil-root. - Remove:
bash join.sh --uninstallhere, then hold it in the list on your phone and remove it there.