API and developers

Is there a command line tool to schedule social media posts from the terminal?

Six hosted schedulers ship a command line tool that schedules social media posts from the terminal. Here is how to install each one, which networks it covers, how it outputs JSON, what it costs, and the exact commands to schedule a post.

Founder of OmniSocialsPublished 5 min read
Code that schedules a post for LinkedIn and X with the OmniSocials SDK, next to the scheduled post

Yes. Several hosted schedulers ship a command line tool that schedules posts from the terminal: the Buffer CLI, the Postiz CLI, the Zernio CLI, PostOwl, PostEverywhere and the OmniSocials CLI. Each one posts through your account and plan on that service, and each one prints JSON for scripts and AI coding agents. If you would rather build your own, a short script on a scheduler's REST API does the same job.

Key takeaways

  • Buffer, Postiz, Zernio, PostOwl, PostEverywhere and OmniSocials each ship a CLI that schedules social media posts from the terminal and prints JSON.
  • Buffer's API, which its CLI uses, is on every plan including Free (3 channels), and Zernio's first 2 accounts are free (as of November 2026).
  • Postiz's CLI covers 28+ networks and also works with a self-hosted Postiz.
  • The OmniSocials CLI has 70 commands in one Node.js file with no npm package: install it with npx skills add or a git clone, on Node 18 or newer.
  • Every CLI here posts through its service, so you pay that service's plan, and a script on its REST API can do the same job.
On this page
  1. Key takeaways
  2. Quick comparison
  3. How each CLI works
  4. Schedule a post with the OmniSocials CLI
  5. The same job in the other CLIs
  6. Or write your own script on an API
  7. Limits to know
  8. Frequently asked questions
  9. Can I schedule social media posts from the command line for free?
  10. Is the OmniSocials CLI on npm?
  11. Can AI coding agents use these CLIs?
  12. Can I connect my social accounts from the terminal?
  13. Should I use a CLI or the API?
  14. Sources

Quick comparison

I run OmniSocials, one of the tools below. Facts about the other CLIs come from their own docs, GitHub pages and pricing pages, checked on November 29, 2026.

CLIInstallNetworksJSON outputFree or paid (as of November 2026)
CLI: OmniSocials (ours)Install: npx skills add OmniSocials/omnisocials-agent-skills, or clone the repo. Node 18+Networks: 13JSON output: --json on any commandFree or paid (as of November 2026): $10 per seat a month billed yearly, 14-day trial
CLI: BufferInstall: npm install -g @bufferapp/cli. Node 18+Networks: 11 through its APIJSON output: --output jsonFree or paid (as of November 2026): API on every plan, Free included (3 channels). Paid from $5 per channel a month
CLI: PostizInstall: npm install -g postizNetworks: 28+JSON output: Every commandFree or paid (as of November 2026): Cloud from $23 a month billed yearly, CLI on every plan. Open-source self-hosting
CLI: ZernioInstall: npm install -g @zernio/cliNetworks: 18, per its READMEJSON output: By defaultFree or paid (as of November 2026): First 2 accounts free, then $6 per account a month
CLI: PostOwlInstall: npm install -g postowl. Node 18+Networks: 6: X, LinkedIn, Instagram, TikTok, Threads, FacebookJSON output: --jsonFree or paid (as of November 2026): CLI free (MIT). Free plan has 5 posts a month, Creator is $9.99 a month
CLI: PostEverywhereInstall: npm install -g @posteverywhere/cli, or run it with npxNetworks: 13 listed, including Telegram, Discord and WordPressJSON output: Every commandFree or paid (as of November 2026): From $9 a month, 7-day trial

How each CLI works

  • Buffer CLI. Run buffer init to save your API key, or set BUFFER_API_KEY. Every command that changes something takes --dry-run, which prints the request without sending it. The cheapest start: Buffer's Free plan includes API access.
  • Postiz CLI. Sign in with postiz auth:login or set POSTIZ_API_KEY. Set POSTIZ_API_URL to use it with a self-hosted Postiz. It covers the most networks here.
  • Zernio CLI. Sign in with zernio auth:login. Besides posts, it handles the inbox, broadcasts, sequences and automations from the terminal.
  • PostOwl. Run postowl login to approve the CLI in your browser. Schedule times can be plain English, such as "tomorrow 9am".
  • PostEverywhere. Login works like the GitHub CLI: you approve in the browser. Bluesky, Telegram, Discord and WordPress connect right in the terminal.
  • OmniSocials CLI. 70 commands in one Node.js file with no dependencies. Besides posts, it reads analytics, answers the social inbox and runs comment-to-DM automations on Instagram and Facebook. There is no npm package: it comes from the public GitHub repo.

Schedule a post with the OmniSocials CLI

Install it for your own terminal:

Terminal
git clone https://github.com/OmniSocials/omnisocials-agent-skills
sudo ln -s "$PWD/omnisocials-agent-skills/skills/omnisocials/scripts/omnisocials.js" /usr/local/bin/omnisocials
omnisocials setup

setup asks for your API key (from Settings, API in the app), checks it and saves it. In CI, set OMNISOCIALS_API_KEY instead.

Then three commands:

Terminal
# 1. Find the channel ids of your connected accounts
omnisocials accounts:list

# 2. Schedule a post on two channels (ISO 8601 time, Z means UTC)
omnisocials posts:create --text "Shipping day. New release is live." --channels <id1>,<id2> --schedule "2026-12-01T09:00:00Z"

# 3. See what is scheduled, as JSON
omnisocials posts:list --status scheduled --json

Add --draft next to --schedule to put the post on the calendar as a draft that a person confirms first.

For coding agents, npx skills add OmniSocials/omnisocials-agent-skills installs the same CLI with a SKILL.md, so Claude Code, Codex or Cursor can run it for you. The CLI page lists every command.

The same job in the other CLIs

From each vendor's own docs, with the dates changed:

Terminal
# Buffer: add a post to a channel's queue
buffer posts create --channel-id <channel-id> --scheduling-type automatic --mode addToQueue --text "Hello from the CLI"

# Postiz: schedule a post for a set time
postiz posts:create -c "Hello from the Postiz CLI!" -s "2026-12-01T09:00:00Z" -i "your-integration-id"

# Zernio: schedule a post for a set time
zernio posts:create --text "Hello from the CLI!" --accounts <accountId> --scheduledAt "2026-12-01T09:00:00Z"

Or write your own script on an API

A CLI is a wrapper around a REST API. If you want full control, call the API from your own script and run it from cron or CI. With the OmniSocials API, one request schedules a post:

Terminal
curl -X POST https://api.omnisocials.com/v1/posts/create \
  -H "Authorization: Bearer omsk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Shipping day. New release is live.",
    "accounts": ["linkedin", "x"],
    "schedule_at": "2027-01-15T09:00:00Z"
  }'

Leave out schedule_at and the post is saved as a draft. Each key allows 100 requests per minute. Buffer, Postiz and Zernio publish their APIs too. For a side-by-side look, see the best social media APIs.

Limits to know

  • You still need an account. Every CLI here posts through its service, so you pay that service's plan (see the table, prices as of November 2026).
  • Accounts connect outside the CLI. With OmniSocials and PostOwl you connect social accounts in the web app first. PostEverywhere connects Bluesky, Telegram, Discord and WordPress in the terminal, and the other networks through a browser sign-in.
  • Keys act on real accounts. OmniSocials has no test keys, so try your first posts with --draft. Buffer's --dry-run checks a command without sending it.
  • X costs extra per call. With OmniSocials, an X post with a link costs 20 credits ($0.20 as of November 2026), because X charges per API call. X posts without a link are included. See pricing.

Frequently asked questions

Can I schedule social media posts from the command line for free?

Yes, with limits. As of November 2026, Buffer's API, which its CLI uses, is on every plan including Free (3 channels, 10 scheduled posts per channel). Zernio's first 2 accounts are free. The PostOwl CLI is free and its Free plan allows 5 posts a month. Postiz is open source, so you can self-host it.

Is the OmniSocials CLI on npm?

No. There is no npm package for the CLI. Coding agents install it with npx skills add OmniSocials/omnisocials-agent-skills. For your own terminal, clone github.com/OmniSocials/omnisocials-agent-skills and link skills/omnisocials/scripts/omnisocials.js to your PATH as omnisocials. It needs Node.js 18 or newer.

Can AI coding agents use these CLIs?

Yes. All six print JSON, which agents read easily. The OmniSocials CLI also installs as an agent skill with a SKILL.md, so Claude Code, Codex or Cursor know when and how to run it.

Can I connect my social accounts from the terminal?

Mostly not. With OmniSocials and PostOwl you connect accounts in the web app first. PostEverywhere connects Bluesky, Telegram, Discord and WordPress in the terminal, and the other networks through a browser sign-in.

Should I use a CLI or the API?

Use a CLI for quick jobs, shell scripts and AI coding agents. Use the REST API when the posting lives inside your own app or service. The OmniSocials CLI and API come with every seat, at $10 per seat a month billed yearly (as of November 2026).

Sources

Checked November 29, 2026:

Written byFounder of OmniSocials

Try OmniSocials for 14 days

Plan, schedule and answer on 13 platforms from one calendar, or let your AI agent do it. The first charge comes when the trial ends.