Skip to main content

bringup CLI

bringup is the command-line tool that talks to a local bringupd daemon. It's installed alongside bringupd — on a device running the edge agent, and on your own desktop machine (see What gets installed).

Global flags

Every subcommand accepts these:

FlagDefaultDescription
--socket/tmp/bringupd.sock (macOS) or /var/run/bringupd.sock (Linux)Unix socket path for the daemon connection
--jsonfalseOutput raw JSON instead of formatted text

register

Enroll this device with a setup key. Must be run as root.

sudo bringup register --setup-key <key> --hostname <hostname> --device-type <type>

For scripted or unattended installs, pipe the key in over stdin instead of putting it on the command line:

echo "$KEY" | sudo bringup register --setup-key-stdin

--setup-key-stdin refuses to read from an interactive terminal — it's meant for piping. You can't pass both --setup-key and --setup-key-stdin together.

FlagDefaultDescription
--setup-keySetup key issued by the management server
--setup-key-stdinfalseRead the setup key from stdin instead (no echo)
--hostnameSet this device's hostname (applied to the OS and used for enrollment)
--device-typeedgeDevice type: edge, gateway, worker, or storage
--forcefalseOverwrite an existing registration on this device
--config/etc/bringup/config.json (Linux) or /usr/local/etc/bringup/config.json (macOS)Path to the config file to write
--skip-waitfalseDon't poll for registration completion after the daemon restarts
--mgmt-urlhttps://mgmt.bringup.dev:443Management server URL
--auth-url— (derived from --mgmt-url)Auth / CA server URL

register refuses to run if the device already has a config file at --config, unless you pass --force. On success it writes the config, restarts bringupd, and — unless --skip-wait is set — polls the daemon for up to 4 minutes waiting for the mesh connection to come up.

See Connect your first device for the full walkthrough, including how to get a setup key.

cert

Show the mTLS certificate bringupd has enrolled.

bringup cert

By default this prints a validity summary: subject, issuer, validity window, status, and SHA-256 fingerprint. Pass --all for full details — serial, version, signature and public-key algorithms, SANs, key usage, and chain length.

bringup cert --all
FlagDefaultDescription
--allfalsePrint full certificate details instead of the validity summary

If no certificate is enrolled yet, cert says so and points you at register.

uninstall

Remove bringupd from this device. Linux only — devices are Linux-only (see Install Bringup), and this command exits with an error on any other OS.

sudo bringup uninstall

Without --purge, this stops and disables the systemd service and removes the daemon binary, the service file, and the runtime socket — but leaves the device's identity and config in place, so reinstalling later doesn't require re-enrolling. Add --purge to also wipe identity, config, and state:

sudo bringup uninstall --purge --yes
FlagDefaultDescription
--purgefalseAlso remove device identity, config, and state (cannot be undone)
--yesfalseSkip the confirmation prompt

Unless --yes is set, uninstall asks for confirmation first — the prompt text differs depending on whether --purge is set, since purging can't be undone.

This command is for devices. For uninstalling the daemon on your own desktop machine, see The bringupd daemon.

Other commands

bringup has more commands than the three above. These aren't documented in depth here — run bringup <command> --help for details.

CommandWhat it does
healthCheck if the daemon is running
versionShow daemon version
logsShow logs from the daemon
updateTrigger daemon self-update
shutdownGracefully stop the daemon
dockerManage containers
deployPush a local Docker image directly to a device (no registry)
pluginManage agent plugins
collectorManage telemetry collectors
gatewayInspect gateway state
storageInspect org storage state
telemetryOn-device telemetry diagnostics
connectManage the mesh tunnel and profiles