3. Configuration
For normal setup, use the Cmdora menu bar app instead of editing environment files.
- DEVPILOT_PROJECTS: choose Cmdora menu bar app -> Projects -> Add Project Folder. These folders appear on iPhone.
- DEVPILOT_CREATE_PROJECT_ROOT: choose Cmdora menu bar app -> New Project Folder if you want Cmdora to create new projects under a parent folder.
- Coordinator address: Cmdora starts the local coordinator automatically. The pairing panel shows a LAN address like http://<your-mac-lan-ip>:8080.
- Agent token: Cmdora generates it automatically. The pairing panel shows the token for manual entry as <your-token>.
Manual values shown by the pairing panel
Server URL: http://<your-mac-lan-ip>:8080
Agent ID: <your-agent-id>
Token: <your-token>
Project folder: <your-project-folder>
4. Start and verify
- In the Mac menu bar, choose Cmdora -> Show Pairing Code.
- On iPhone, open Cmdora and tap +.
- Tap Scan QR Code and scan the code shown on the Mac.
- Save the remote. The Mac should appear in the Cmdora list.
- Open the Mac. You should see the project folders selected in the Mac menu bar. Pick a folder and open Terminal.
Quick checks: if macOS asks about incoming connections, click Allow or the iPhone will not connect. If the QR code is unavailable, confirm that Wi-Fi is on and the Mac has a LAN IP address. If the iPhone cannot connect, make sure both devices are on the same network and that the Server URL uses the Mac LAN IP, not 127.0.0.1.