Schedule and manage social media posts across 13 platforms from the terminal.
Built for developers and AI agents. Outputs JSON by default.
npm install -g late# 1. Log in via browser (recommended)
late auth:login
# Or set your API key manually (get one at https://getlate.dev/dashboard/api-keys)
late auth:set --key "sk_your-api-key"
# 2. List your accounts
late accounts:list --pretty
# 3. Schedule a post
late posts:create --text "Hello from the CLI!" --accounts <accountId> --scheduledAt "2025-06-01T10:00:00Z"late auth:loginOpens your browser to authorize the CLI. An API key is created automatically and saved to ~/.late/config.json. Running it again from the same device replaces the existing key.
Options:
--device-name <name>- Custom device name for the API key label (defaults to your hostname)
late auth:set --key "sk_your-api-key"late auth:check| Command | Description |
|---|---|
late auth:login |
Log in via browser |
late auth:set --key <key> |
Save API key manually |
late auth:check |
Verify API key |
late profiles:list |
List profiles |
late profiles:create --name <name> |
Create profile |
late profiles:get <id> |
Get profile |
late profiles:update <id> |
Update profile |
late profiles:delete <id> |
Delete profile |
late accounts:list |
List social accounts |
late accounts:get <id> |
Get account details |
late accounts:health |
Check account health |
late posts:create |
Create/schedule a post |
late posts:list |
List posts |
late posts:get <id> |
Get post details |
late posts:delete <id> |
Delete a post |
late posts:retry <id> |
Retry failed post |
late analytics:posts |
Post analytics |
late analytics:daily |
Daily metrics |
late analytics:best-time |
Best posting times |
late media:upload <file> |
Upload media file |
Config is stored at ~/.late/config.json. Environment variables take precedence:
| Env Var | Description |
|---|---|
LATE_API_KEY |
API key (required) |
LATE_API_URL |
Custom API base URL |
This CLI ships with a SKILL.md file for AI agent discovery (Claude Code, OpenClaw, etc.). AI agents can use the CLI to schedule posts, check analytics, and manage social accounts programmatically.
Instagram, TikTok, X (Twitter), LinkedIn, Facebook, Threads, YouTube, Bluesky, Pinterest, Reddit, Snapchat, Telegram, Google Business Profile.
MIT