Setup fast.
Repair fast.
These are the canonical DexRelay Mac commands for install, pairing, repair, and uninstall. If something breaks, start with dexrelay status, then dexrelay repair.
1. Install on Mac
Recommended clean-Mac install flow:
curl -fsSL https://assets.dexrelay.app/install.sh | bash
npm install flow when npm is already installed and writable:
npm i -g dexrelayThe install flow sets up the DexRelay runtime on your Mac, installs the local bridge and helper, and starts the required launch agents.
2. Pair Your iPhone
After install, run this on your Mac and scan the QR in the iPhone app:
dexrelay pair3. Use DexRelay Outside Wi-Fi
Use Tailscale so DexRelay still works when you are away from your home or office Wi-Fi and want to ship without being near your Mac.
- Download Tailscale on your Mac and your iPhone.
- Log in with the same Tailscale account on both devices.
- DexRelay will automatically find your Tailscale and use it for remote access.
4. Health and Repair
Use these commands in this order when DexRelay is unhealthy:
- Check status.
- Confirm Tailscale is actually available on the Mac if you expect remote access.
- Run repair.
- Rerun install only if repair is insufficient.
dexrelay status
dexrelay repair
dexrelay install5. Project Setup and Buttons
Every project in DexRelay has a Project Setup. It keeps your backend services predictable and defines the buttons you see in the play menu.
Under the hood DexRelay stores two files in the repo:
.dexrelay/project-governance.jsonfor services, ports, health checks, and backend setup..dexrelay/project-runbook.jsonfor the project buttons shown in the app.
For normal use, think about it like this:
- Open a project.
- If you see
Generate SetuporRepair Setup, tap that first. - Use
Start Servicesto bring up the project backend. - Use the play menu buttons for your app workflow.
- Use
Add Project Buttonto describe a new workflow in plain English. - Use
Remove Project Buttonwhen a button is obsolete.
Examples of buttons you can add:
Run Backendto start a Python API and show its health URL.Open Adminto launch a local or Tailscale-served admin page.Seed Demo Datato run a setup script before testing on iPhone.Reset Dev DBto clear and rebuild a local database safely.Run Simulator Smoketo boot a simulator and run a standard smoke test.
The goal is simple: each project should know which services it owns, which ports it uses, and which buttons make sense for that app.
6. Uninstall
To remove DexRelay from your Mac:
dexrelay uninstallThis removes the DexRelay runtime, launch agents, logs, and the Homebrew CLI if it was installed through Homebrew.
7. Keep-Awake Controls
DexRelay also exposes keep-awake controls for the Mac runtime:
dexrelay wake on
dexrelay wake off
dexrelay wake status8. Advanced
Advanced or internal relay bootstrap flow:
dexrelay relay-pairIf you need support or want website signup information deleted, contact [email protected].