Skip to content

mooncake agentd bootstrap

Install agentd on this machine (no SSH detour)

Description

Install the systemd unit (Linux) or launchd plist (macOS) for the running mooncake binary, enable + start it, and print the bearer token + a fleet pair one-liner for the controller. Use mooncake fleet bootstrap user@host when the target is a different machine.

Idempotent: rerun with the same version + active service is a no-op. Different version requires --upgrade.

Flags

Flag Type Default Description
--user bool false Linux only: install as user-scope systemd unit (default: system-scope).
--port int 7878 agentd TCP bind port
--binary string - mooncake binary to install (default: this process)
--upgrade bool false Replace mismatched-version install