Use the xmtp command to test, debug, and interact with XMTP conversations, groups, and messages from the command line. This skill is the entry point; use the sub-skills below for specific CLI tasks.
| Sub-skill | Use when |
|---|---|
| ----------- | ---------- |
| setup | Initialize CLI and configure env (init, env variables) |
| groups | Create DM or group, update group metadata |
| send | Send messages to address or group |
| list | List conversations, members, messages; find by address or inbox |
| debug | Get info, resolve address, inspect inbox |
| sync | Sync conversations or sync all |
| permissions | List/info group permissions, update permissions |
| content | Demo text, markdown, attachment, transaction, deeplink, miniapp |
| debugging | Enable CLI debug logging (XMTP_FORCE_DEBUG env) |
SKILL.md and its rules/ for step-by-step guidance.npm install -g @xmtp/cli
# or
pnpm add -g @xmtp/cli
# or
yarn global add @xmtp/cli
npx @xmtp/cli <command> <arguments>
# or pnpx / yarn dlx
xmtp --help
xmtp <command> --help
Full documentation: docs.xmtp.org
共 1 个版本