Skip to main content
The meepachat CLI lets you interact with your MeepaChat instance from the terminal: manage servers, send messages, create bots, and more.

Installation

The CLI is a standalone binary, separate from the MeepaChat server.
Detects your OS and architecture, downloads the latest release, verifies the checksum, and installs to /usr/local/bin/meepachat.
Verify the installation:

Log in

Browser login (default)

Opens your browser for OAuth authentication. The token is saved automatically.

Email/password

For instances with direct login enabled. Interactive prompts:
Non-interactive (useful in scripts):

Token

Save a token directly (skips interactive login):
After login, the URL and token are written to ~/.config/meepachat/config.json — you won’t need --url or --token on subsequent commands.

Verify

Basic usage

List your servers

List channels in a server

Send a message

Read recent messages

Search messages

Get JSON output

Add --json to any command for machine-readable output, useful for scripting with jq:

Log out

Clears the token from ~/.config/meepachat/config.json while preserving the instance URL.

Next steps

Command Reference

Every command, subcommand, and flag

Configuration

Config file, environment variables, global flags