Social0|Docs
Integrations

Social0 CLI

Publish, schedule, and manage Social0 posts from your terminal with the official social0 CLI.

Overview

The Social0 CLI (social0) is a thin terminal client for the Social0 REST API. Use it for scripts, CI, and day-to-day posting from the command line.

CLIMCPREST API
Best forTerminal, scripts, CIAI chat hostsCustom backends
Packagesocial0@social0/mcpHTTP at /v1
Authsk_live_… via social0 login or envOAuth (remote) or API key (local)Bearer sk_live_…

Same publish pipeline and plan limits as the dashboard. Connect platforms in the dashboard first — the CLI does not replace Connections.

Prerequisites

  1. Node.js 20+
  2. A Social0 account with at least one connected platform
  3. An API key (sk_live_…) from Dashboard → API keys

Install

npm install -g social0
# or without installing globally:
npx social0

Current package version: 0.1.2. Binary name: social0.

Auth in one glance

MethodHow
Interactivesocial0 login (masked prompt)
Stdinecho "sk_live_..." | social0 login
Env (CI)SOCIAL0_API_KEY=sk_live_... — not written to disk

Credentials use the OS keychain when available (macOS Keychain / Linux Secret Service / Windows Credential Manager). Otherwise they fall back to ~/.social0/ with mode 0600.

Tips

  • Prefer the CLI for terminal, CI, and AI agents with shell access; use MCP when the AI host only supports MCP connectors (no reliable shell).
  • Run social0 doctor if auth or API connectivity looks wrong.
  • Free and paid plans use the same CLI — free still has the same post limits as the dashboard.

On this page