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
run | Run the node on a UDP port, optionally dialing one extra seed. The packaged unit uses run 7777. |
listen, connect | Low-level listen and dial modes. |
networks | List the compiled per-network version policy. |
Configuration comes from /etc/tier/tierd.toml and TIER_* environment
variables; see Configuration.
tierctl
tierctl [--sock <path>] <command>
id | Print this node's peer ID (64 hex). |
peers | The 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 ls | List 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. |
inbox | Print 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>
--config | Run the daemon with this config. |
id | Print this instance's Tier user ID; reads /etc/tier/agent.toml by default. |
query | Read a collector store through its query socket, optionally filtered by a substring of sender/key. |
bootstrap collector | Create the collector config and identity, enable and start tier-agent@collector; --enable-web-server adds the dashboard. |
bootstrap client | Create 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 S | Match addresses that start with S. |
--suffix S | Match addresses that end with S. |
--count N | Stop after N matches; default 1. |
--threads N | Worker threads; default all cores. |
--max N | Give 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.