Aidelly Docs
CLI

CLI Overview

Post to social media from the terminal with the Aidelly CLI.

The @aidelly/cli npm package lets you post, schedule, and manage content from the terminal or CI/CD pipelines.

Installation

npm install -g @aidelly/cli

Or run without installing:

npx @aidelly/cli <command>

Authentication

Set your API key as an environment variable:

export AIDELLY_API_KEY=aidelly_live_xxx

Or authenticate interactively:

aidelly auth login

Quick start

# Post immediately
aidelly post \
  --content "Hello from the CLI!" \
  --platforms linkedin,instagram \
  --publish-now

# Schedule a post
aidelly post \
  --content "Scheduled post" \
  --platforms x \
  --schedule-at "2026-04-20T09:00:00Z"

# List recent posts
aidelly posts list --limit 5

What's in this section

  • Installation — install, configure, and verify
  • Commands — full command reference
  • CI/CD — GitHub Actions and pipeline recipes