CLI
The Push To Display CLI lets you send updates and manage boards from your terminal. It's a single npm package that works on macOS, Linux, and Windows.
Install
You can run it directly with npx (no install needed):
npx pushtodisplay --helpOr install it globally:
npm install -g pushtodisplayLog in
Before sending updates, authenticate with one of these methods:
API key
pushtodisplay auth login --api-key pt_your_api_key_hereBrowser (OAuth)
pushtodisplay auth loginThis opens your browser. Sign in with your Push To Display account and the CLI receives your credentials automatically.
Device code (headless)
For machines without a browser — SSH sessions, containers, or remote servers:
pushtodisplay auth login --device-codeThe CLI prints a URL and a one-time code. Open the URL on any device, enter the code, and approve the login.
Send your first update
pushtodisplay send -b <board-id> "Hello from the CLI!"That's it. The text appears on every device connected to the board.
JSON output
Add --json to any command to get machine-readable JSON output:
pushtodisplay boards list --jsonThis is useful when piping CLI output into other tools or scripts.
Check auth status
pushtodisplay auth statusLog out
pushtodisplay auth logoutCommands at a glance
| Command | Description |
|---|---|
auth login | Log in (browser, device code, or API key) |
auth logout | Remove stored credentials |
auth status | Show current auth status |
send [text...] | Send a display update |
boards list | List your boards |
boards get <id> | Get board details |
boards create | Create a new board |
boards delete <id> | Delete a board |
devices list | List active device connections |
config show | Show current configuration |
mcp | Start the MCP server |
Next
- Sending updates — all the ways to send content and style it
- Managing resources — boards and device commands