Skip to main content

Install

Requires Node.js 24.15.0 or newer. These instructions cover CLI 0.2.0, available on npm.

Connect a project

The CLI opens your browser and prints a matching code. Sign in as a project admin, verify the code, select a project, and approve the connection. Use --no-browser to print the link instead.

Check your account

The capability response includes connection availability, caption and attachment limits, and platform options. supported: true alone does not mean the account is available.

Upload and draft

Replace MEDIA_ID with the ready media ID returned by upload. The post stays a draft unless you supply --scheduled-at.

Publish and verify

Publishing requires posts-publish. Success from the publish command means the request was accepted. Check the post until it reaches a final status; inspect individual targets for failures. For connection problems, run postinger doctor. See authentication and all commands.