Skip to content
Mob
Docs · Commands

Docs

Commands

Run them on the office computer, as the user that runs mobd. mobd --help lists them too.

Run mobd

CommandWhat it does
mobd initCreate ~/.mobd/config.json; never overwrites an existing file
mobd startStart in the background (macOS LaunchAgent, Linux systemd user service)
mobd start --loginStart, and start again at login (macOS) or boot (Linux)
mobd restartReload the configuration and restart; keeps the login setting
mobd stopStop, and turn off starting at login. Linux: asks whether to close desktops (--close-desktops, --keep-desktops)
mobd statusListening address and readiness checks
mobd logsFollow the log (Ctrl-C to stop)
mobd serveRun in the foreground
mobd uninstallClose every desktop, stop mobd and remove its service; keeps settings and data
mobd --versionPrint the version

Pairing and devices

CommandWhat it does
mobd linkOne-use pairing link and QR code (10 minutes) for the remote address, else the office network one
mobd link --lanThe same, always for the office network address
mobd link --url URLThe same, for exactly this address
mobd link --closeCancel invitations that were not used yet
mobd clients listList paired devices
mobd clients revoke IDRevoke a device and disconnect it now
mobd clients delete IDRevoke a device and remove its record
mobd connectionsList active authenticated requests and streams
mobd auth reset --yesRevoke every device and invitation

Remote access

CommandWhat it does
mobd remoteShow remote access and check it reaches this mobd
mobd remote setupSet up Tailscale Serve or a Cloudflare Tunnel (asks before each command)
mobd remote setup --tailscale --yesThe same, without questions
mobd remote setup --cloudflare …Cloudflare, without questions (full command below)
mobd remote offTurn remote access off; paired devices stay paired
mobd remote setup --cloudflare --hostname mob.example.com --token TOKEN --yes

Desktops (Linux)

CommandWhat it does
mobd desktops listEvery conversation desktop and its state
mobd desktops doctorCheck programs, cgroup v2, encoder, browsers, memory, disk and linger
mobd desktops wake SESSIONWake a sleeping desktop
mobd desktops close SESSIONClose a desktop; its files and browser profile are kept
mobd desktops logs SESSIONShow a desktop's logs
mobd desktops seed SESSIONMake this conversation's browser profiles the start of every new conversation's

Configuration

Settings live in ~/.mobd/config.json (Configure agents). Every setting, with its default and environment variable, is in the configuration reference.