CLI
Post directly from your terminal with the yeetpost CLI.
#Installation
This page documents the published package, which posts with a single yeetpost <connection> <text> call. Version 2.1 adds the ten subcommands (login, post --to and the rest) and is not on npm yet.
The CLI is included in the yeetpost npm package. Install it globally:
npm install -g yeetpost#Usage
yeetpost <connection> <text>
# or with npx
npx yeetpost <connection> <text>#Configuration
Set your API key in an environment variable:
YEETPOST_API_KEY=your-api-key yeetpost linkedin "Hello, world!"Or add it to your .env or .env.local file:
YEETPOST_API_KEY=your-api-key#Examples
yeetpost linkedin "Hello, world!"
yeetpost x "Hello, world!"The connection name is the slug you gave it in the dashboard. LinkedIn, X, Bluesky, Discord, Telegram and Mastodon are live today. Slack, SMS and email connections are coming soon.
#Options
--help, -hShow the help message--version, -vShow the version#Where to next
- SDKs: the CLI ships inside the yeetpost npm package.
- Twitter CLI: a Twitter and X specific workflow.