Commands

Every program prints its version with --version. On a packaged install, programs that use the tierd admin socket run as root (see Admin socket).

tierd

tierd run <port> [<seed_ip> <seed_port>]
tierd listen <port>
tierd connect <ip> <port>
tierd networks
runRun the node on a UDP port, optionally dialing one extra seed. The packaged unit uses run 7777.
listen, connectLow-level listen and dial modes.
networksList the compiled per-network version policy.

Configuration comes from /etc/tier/tierd.toml and TIER_* environment variables; see Configuration.

tierctl

tierctl [--sock <path>] <command>
idPrint this node's peer ID (64 hex).
peersThe node's local view of the mesh. Default command.
send <peer-id> [suite] <message>Send an encrypted node message to a device.
user add [seed]Host a new user identity, optionally importing a 64-hex Ed25519 seed. Prints the user ID.
user lsList hosted user IDs.
user rm <user-id>Stop hosting a user identity.
send-user <from-user> <to-user> [suite] <message>Send from a local user to a user; fans out to its online devices.
stream <user-id>Subscribe as a local user and print its message and receipt stream.
status <user-id>Print a user's online status: online, offline, unknown.
inboxPrint and drain received node messages.

IDs are 64 hexadecimal characters. suite is classical, hybrid, or pq; default hybrid. The socket defaults to /run/tierd/tierd.sock, or $TIER_ADMIN_SOCK.

tier-messenger

tier-messenger [--sock <path>] [--db <path>] [--as <user-id>]

Connects to the local admin socket and opens the interactive messenger. --as selects the hosted user identity; without it the only identity is used, or one is created if none exist. The interface is modal: ? for help, :q to quit. See Messenger.

tier-agent

tier-agent --config <file.toml>
tier-agent id [--config <file.toml>]
tier-agent query <socket> [needle]
tier-agent bootstrap collector [--enable-web-server]
tier-agent bootstrap client --collector=<address>
--configRun the daemon with this config.
idPrint this instance's Tier user ID; reads /etc/tier/agent.toml by default.
queryRead a collector store through its query socket, optionally filtered by a substring of sender/key.
bootstrap collectorCreate the collector config and identity, enable and start tier-agent@collector; --enable-web-server adds the dashboard.
bootstrap clientCreate the agent config pointing at a collector address, enable and start tier-agent@agent.

See Agent.

tier-vanity

tier-vanity [<prefix>] [--prefix S] [--suffix S] [--count N] [--threads N] [--max N]
<prefix>, --prefix SMatch addresses that start with S.
--suffix SMatch addresses that end with S.
--count NStop after N matches; default 1.
--threads NWorker threads; default all cores.
--max NGive up after N attempts; default unlimited.

Patterns use the bech32 alphabet, which excludes 1, b, i, and o. Each match prints the seed, the hex ID, and both address forms. Runs offline; built from source only. See Vanity addresses.