> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sydium.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Drive Sydium from your terminal and scripts

Run Sydium from your terminal: publish, schedule, cancel, list accounts, and pull analytics without opening the app. Handy for cron jobs, CI, and quick one-offs. (It calls the [REST API](/quickstart) under the hood.)

## Install

<CodeGroup>
  ```bash npm theme={null}
  npm install -g @sydium/cli
  ```

  ```bash npx theme={null}
  npx @sydium/cli --help
  ```
</CodeGroup>

The binary is `sydium`. Verify it:

```bash theme={null}
sydium --help
```

## Authenticate

The CLI uses an API key. Grab one from your Sydium account settings, then:

```bash theme={null}
sydium auth:login --key sk_live_...
```

This saves your key locally. Check it any time:

```bash theme={null}
sydium auth:status
```

## Quick start

```bash theme={null}
# what's connected
sydium accounts:list

# publish now to two platforms
sydium posts:create --platforms x,linkedin --caption "Shipping > talking."

# schedule for later
sydium posts:create --platforms linkedin --caption "Recap thread" --schedule-at 2026-07-01T09:00:00Z

# pull last month's analytics
sydium analytics:get --from 2026-06-01 --to 2026-06-30
```

<Card title="All commands" icon="terminal" href="/cli/commands">
  The full command and flag reference.
</Card>
