Install the current Codync Dev build on this Mac, the connected iPhone and the Mac mini in one go. Use whenever the user says "install" / "install dev" / "裝一下" / "reinstall" without naming one device; "install" always means all three.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Install Dev?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/leepokai-install-dev)
---
name: install-dev
description: Install the current Codync Dev build on this Mac, the connected iPhone and the Mac mini in one go. Use whenever the user says "install" / "install dev" / "裝一下" / "reinstall" without naming one device; "install" always means all three.
---
# Install Codync Dev everywhere
"install" means three targets, every time: this Mac's Codync Dev, the real iPhone, and the Mac mini. The iPhone is best-effort: the user may be out with it, so it is tried once and is never required.
1. Sync first: `git pull --rebase --autostash origin dev` in the checkout you install from (normally the main checkout on `dev`; a worktree installs its own branch).
2. Run `tools/install-dev.sh` from that checkout, awaited with a 20-minute timeout (`IPHONE_UDID=<udid>` picks the phone when more than one is connected); what it does is in the script's header and the development guide below.
3. Report its last lines per target: the `/health` JSON of this Mac and the Mac mini (version, `environment: dev`, binary hash), and the iPhone's one line. A Mac or Mac mini target that failed is reported with its log path, never left out. Run on the Mac mini itself (a Mac mini with no `Host mac-mini` ssh entry), this Mac is the Mac mini: it is installed once and the Mac mini line says so, with no ssh.
**iPhone: one try, then move on.** When no phone is connected or reachable, it is locked (CoreDevice error 4016), or the install or launch fails, report one line (e.g. `iPhone: skipped — locked; install over the tailnet: itms-services://…`) and carry on, giving the user the `itms-services://` link from it: they open it on the phone (Tailscale on) and tap Install ([over the tailnet](../../../docs/guides/development.md#replace-an-installed-macos-build-completely)). Never rerun the script or `devicectl` for the phone, wait for it, or ask the user to unlock it before finishing; it does not count as a failure of the install (the script exits 0 when this Mac and the Mac mini succeed).
It touches only Codync Dev (bundle `com.pokai.Codync.dev`, host `com.pokai.codync.dev.host`, port 19223). Production and every data directory stay. Before running, check `/health` on 19223 for `busy: true`: a host older than the agent-shim change stops bots mid-turn when replaced, so tell the user first.
The host answering is not the app's window: say so when nothing checked that the apps reached their connected main screens. Steps and safety notes: [development guide](../../../docs/guides/development.md#replace-an-installed-macos-build-completely), [Mac mini testing](../../../docs/guides/mac-mini-testing.md).