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.

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
- Key takeaways
- Quick comparison
- How each CLI works
- Schedule a post with the OmniSocials CLI
- The same job in the other CLIs
- Or write your own script on an API
- Limits to know
- Frequently asked questions
- Can I schedule social media posts from the command line for free?
- Is the OmniSocials CLI on npm?
- Can AI coding agents use these CLIs?
- Can I connect my social accounts from the terminal?
- Should I use a CLI or the API?
- 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.
| CLI | Install | Networks | JSON output | Free or paid (as of November 2026) |
|---|---|---|---|---|
| CLI: | Install: npx skills add OmniSocials/omnisocials-agent-skills, or clone the repo. Node 18+ | Networks: 13 | JSON output: --json on any command | Free or paid (as of November 2026): $10 per seat a month billed yearly, 14-day trial |
| CLI: | Install: npm install -g @bufferapp/cli. Node 18+ | Networks: 11 through its API | JSON output: --output json | Free or paid (as of November 2026): API on every plan, Free included (3 channels). Paid from $5 per channel a month |
| CLI: | Install: npm install -g postiz | Networks: 28+ | JSON output: Every command | Free or paid (as of November 2026): Cloud from $23 a month billed yearly, CLI on every plan. Open-source self-hosting |
| CLI: | Install: npm install -g @zernio/cli | Networks: 18, per its README | JSON output: By default | Free or paid (as of November 2026): First 2 accounts free, then $6 per account a month |
| CLI: PostOwl | Install: npm install -g postowl. Node 18+ | Networks: 6: X, LinkedIn, Instagram, TikTok, Threads, Facebook | JSON output: --json | Free or paid (as of November 2026): CLI free (MIT). Free plan has 5 posts a month, Creator is $9.99 a month |
| CLI: PostEverywhere | Install: npm install -g @posteverywhere/cli, or run it with npx | Networks: 13 listed, including Telegram, Discord and WordPress | JSON output: Every command | Free or paid (as of November 2026): From $9 a month, 7-day trial |
How each CLI works
Buffer CLI. Run buffer initto save your API key, or setBUFFER_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:loginor setPOSTIZ_API_KEY. SetPOSTIZ_API_URLto 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 loginto 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:
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:
# 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:
# 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:
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-runchecks 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:
- Buffer: CLI guide, API plans and limits, pricing
- Postiz: CLI docs, pricing
- Zernio: zernio-cli on GitHub, pricing
- PostOwl: CLI, plans
- PostEverywhere: CLI
- OmniSocials: omnisocials-agent-skills README and SKILL.md
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.


