# CLI introduction

> Terminal workflow for AI coding agents operating ReelsRadar.

# CLI introduction

A `reelsradar` CLI is planned for terminal-based agents.

## Planned install

```sh
npm install -g @reelsradar/cli
reelsradar login
```

## Planned commands

```sh
reelsradar whoami
reelsradar videos list --platform tiktok --limit 20
reelsradar track "https://www.tiktok.com/@creator"
reelsradar accounts list --json
reelsradar export videos --out videos.csv
```

Prefer `--json` when an agent needs structured output.

## Until the CLI ships

Use the REST API with a signed-in session cookie from local development, or drive the dashboard UI. Read [https://reelsradar.io/docs/api-introduction](https://reelsradar.io/docs/api-introduction) and [https://reelsradar.io/openapi.json](https://reelsradar.io/openapi.json).
