CLI reference

Post to your socials from the terminal

The scorper CLI links your machine to your Instagram, LinkedIn, TikTok, X and YouTube accounts, installs the posting skills into your AI agent, and gives you a handful of commands for the account side. You rarely type them yourself; your agent runs them. Power users like a map, so here it is.

Updated 5 November 2026

Install

macOS, Windows, Linux · Node 18+
npx scorper@latest init

One line. It installs the CLI, adds the Scorper skills to Claude Code, Codex, Cursor or Gemini CLI (whichever you run it from), links this machine to your account with a scoped key, and walks you through sign in, plan and connecting socials. Verify with:

scorper doctor
✓ Claude Code
✓ Codex
✗ Gemini CLI
✗ Cursor
config: present · signed in: yes · version 0.2.5

Commands

CommandWhat it does
npx scorper@latest initInstall the CLI and the agent skills, link this machine to your account, walk through sign in, plan and socials.
scorper loginEmail and 6-digit code sign in. --browser uses a device link instead.
scorper statusYour plan, connected accounts and every brand you can post to.
scorper connectOpen the approval page for any platform (Instagram, LinkedIn, TikTok, X, YouTube).
scorper connect --dmThe extra Instagram permission needed for comment-to-DM automations.
scorper upload <file>Upload a local photo or video (JPG, PNG, WebP, MP4, MOV, up to 300 MB) and get a postable URL.
scorper tool [name] --args '{...}'Run any Scorper action directly (post, schedule, calendar, analytics, DM automations). With no name, lists them all.
scorper default @handlePin the default brand on this machine (Studio, multiple brands).
scorper payOpen checkout or the upgrade screen, whichever applies.
scorper doctorDiagnose the install, skills and account link, and fix what it can.
scorper logoutUnlink this machine. The account and its connections stay intact.

Posting and scheduling from the terminal

Composing a post is a sentence to your agent, which uses the skills and the CLI underneath:

post the video on my desktop called launch.mp4 to instagram and tiktok
schedule this carousel for 6pm tomorrow on linkedin and x
what's going out this week?
scorper_calendar · real output for @scorperai, 5 Nov 2026
2026-11-05T05:57 · instagram · posted · "Your next carousel can start on your phone. Scorper is now " · instagram.com/reel/DfWVTwYCmrQ/
2026-11-03T07:07 · instagram · posted · "Everybody knows Scorper can post to Instagram. But did you k" · instagram.com/reel/DfRTxqqhq8V/
2026-11-02T10:12 · instagram · posted · "I posted this reel without touching my keyboard. Said one l" · instagram.com/reel/DfPEHtMptVk/
2026-10-28T07:19 · instagram · posted · "I cancelled ManyChat. Now when someone comments on my post," · instagram.com/reel/DfB4Uc5OD1G/
Before anything posts
⏺ Posting to Instagram @yourbrand and TikTok @yourbrand
   Caption: "Three things I wish someone told me at 21…"
   Confirm?
> yes
✓ Posted · links below

From a cron job or CI

Because the skills work in Claude Code's non-interactive mode, a scheduled job can run the same prompt:

crontab, weekdays at 09:00
0 9 * * 1-5  cd ~/content && claude -p "post the top item in queue.md to instagram and linkedin, then remove it from the file"

Keep a confirmation step in the prompt unless you want unattended posting. Scorper's own scheduler is often the better tool for timing: schedule a week of posts in one session and let Scorper fire them, with no machine that has to stay on.

Build your own tool on top

Your machine holds a scoped key, so anything your agent builds can call the same posting and scheduling endpoints the official skills use. People build a localhost posting dashboard in their own style, a content calendar app that schedules through Scorper, or a drafting bot that waits for a thumbs-up on Telegram before posting.

build me a posting dashboard on localhost with a telegram approve button

Accounts and brands

  • Reconnecting the same account after a token refresh is always fine: “reconnect my instagram”.
  • Swapping a slot to a different account twice within 3 days locks posting on that slot for 3 days (an anti-abuse rule). Other slots keep working.
  • On Studio, scorper default @handle pins the brand this machine posts to by default; name another brand in the prompt to override.
  • scorper logout then scorper login switches accounts on one machine.
The CLI source is on GitHub and the package on npm. Issues and pull requests welcome.

Frequently asked questions

Can I post to Instagram from the terminal without an AI agent?
The CLI handles the account side (login, connect, upload, status). Composing and publishing a post is done through the agent skills, which is why the install sets up Claude Code, Codex, Cursor or Gemini CLI. In practice you type a sentence to your agent and it runs the CLI for you. For scripted posting, Claude Code's non-interactive mode (claude -p) runs the same prompt from a cron job.
Does the CLI need an API key?
No. npx scorper@latest init links the machine to your account with a scoped key that it manages. You never paste a token.
Which operating systems?
macOS, Windows and Linux, anywhere Node 18 or newer runs.
Is the CLI open source?
Yes. It is published on npm as scorper and the source is at github.com/faisalchdry/scorper-cli.
Can several machines share one account?
Yes. Run the install on each machine; each gets its own scoped key. scorper logout unlinks one machine without affecting the others.
What plan does the CLI need?
The AI-agent and CLI connection is on Max ($25 a month) and Studio ($55, three brands). 7-day free trial on every plan, card needed to start.

Install the CLI in one line

npx scorper@latest initStart free for 7 days

7 days free on every plan. The AI-agent connection is on Max ($25/month) and Studio.