Your computer
Host commands
Run these in a terminal on the computer where the host is installed.
| Command | What it does |
|---|---|
npx @repogo/host | Install and start the host, then show a pairing code |
npx @repogo/host pair | Show a pairing code for another device |
npx @repogo/host pair --reusable 14d | Open an invite any number of devices can join until it expires (off ends it) |
npx @repogo/host status | Show whether the host is running |
npx @repogo/host devices | List the paired devices |
npx @repogo/host devices revoke <id> | Remove a device: its connections close and it can no longer reach the host |
npx @repogo/host relay | Show the relay phones reach this computer through |
npx @repogo/host relay set <url> | Use your own relay; paired devices pair again (Use your own relay) |
npx @repogo/host relay reset | Go back to RepoGo's relay; paired devices pair again |
npx @repogo/host tunnels | List the public tunnels that are open |
npx @repogo/host tunnels close <slug> | Close a tunnel; its URL stops working right away |
npx @repogo/host start / stop / restart | Start, stop or restart the background host |
npx @repogo/host logs | Show the host's logs |
npx @repogo/host update | Update to the latest version |
npx @repogo/host keep-awake enable | Keep a Mac awake with its lid closed while a device is paired |
npx @repogo/host uninstall | Remove the background service |
npx @repogo/host version | Print the host's version |
Update#
bash
npx @repogo/host updateThe update waits for running work: it refuses while agents, terminals or builds are running. Add --now to stop them and update anyway.
Uninstall#
bash
npx @repogo/host uninstall
rm -rf ~/.repogouninstall removes the background service and RepoGo's agent hooks, and keeps your pairings and data in ~/.repogo. Delete that folder to remove everything.