Msg CLI

A lightweight tool for sending and receiving messages in the terminal. Zero config, plug-and-play. Both server and client, peer-to-peer.

Native Terminal CLI AI Agent Ready Secure Encryption Cross-Platform

Native Install

curl -fsSL https://msgcli.org/install.sh | bash

Launch or Chat

1

Launch (Hybrid Mode)

Runs as both server and client, waiting for connection

msg user
2

Connect and Chat

Client connect start chatting

msg user@host

Command Reference

Hybrid Mode

msg USER [--key KEY]

Runs as both server and client, waiting for remote connection.

Client (Quick Connect)

msg USER@HOST:PORT [--key KEY]

Quick connect to remote user via USER@HOST:PORT format.

Server Mode

msg --server [NAME] [--key KEY] [--port PORT]

Runs only as a message server, listening on the specified port for client connections.

Client (Full Parameters)

msg --user USER --host HOST [--port PORT] [--key KEY]

Connect to remote message server using full parameter format.

Key Features

Zero Config

No account or config file needed, start messaging with one command

Hybrid Mode

Both server and client, peer-to-peer without intermediary service

Secure Encryption

Set a key via --key parameter to secure communications

Native Terminal

Runs entirely in the CLI, perfect for developers and tech pros

AI Agent Ready

Built for machine-to-machine messaging, ideal for multi-agent systems

Cross-Platform

Runs on macOS, Linux, and Windows with a single command