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

# CLI

> Read content from the command line with the Rapid Reader CLI

The Rapid Reader CLI lets you send content to the app directly from your terminal. Pipe in text, pass a file, or read from your clipboard — all without leaving the command line.

## Installation

Install the CLI globally via npm:

```bash theme={null}
npm install -g @rsvp/cli
```

Or with your preferred package manager:

```bash theme={null}
pnpm add -g @rsvp/cli
# or
yarn global add @rsvp/cli
```

## Usage

### Read a File

Pass any supported file (PDF, EPUB, Markdown, or plain text) to open it in Rapid Reader:

```bash theme={null}
rsvp read document.pdf
rsvp read book.epub
rsvp read notes.md
```

### Pipe Text

Pipe output from any command directly into the reader:

```bash theme={null}
cat article.txt | rsvp read
curl -s https://example.com/article | rsvp read
```

### Read from Clipboard

Read whatever is currently on your clipboard:

```bash theme={null}
rsvp read --clipboard
```

### Send to Cloud Inbox

If you have a Pro account with cloud sync, send content to your cloud inbox so it appears across all your devices:

```bash theme={null}
rsvp send document.pdf
rsvp send --clipboard
```

This requires an API key. Generate one in **Preferences > Apps** in the web or desktop app.

## Configuration

Set your API key for cloud features:

```bash theme={null}
rsvp config set api-key YOUR_API_KEY
```

View current configuration:

```bash theme={null}
rsvp config list
```

## Commands Reference

| Command                         | Description                     |
| ------------------------------- | ------------------------------- |
| `rsvp read <file>`              | Open a file in Rapid Reader     |
| `rsvp read --clipboard`         | Read clipboard contents         |
| `rsvp send <file>`              | Send a file to your cloud inbox |
| `rsvp send --clipboard`         | Send clipboard to cloud inbox   |
| `rsvp config set <key> <value>` | Set a configuration value       |
| `rsvp config list`              | Show current configuration      |
| `rsvp --help`                   | Show all available commands     |

## Next Steps

<CardGroup cols={2}>
  <Card title="Integrations" icon="plug" href="/using/integrations">
    Set up MCP server and other integrations
  </Card>

  <Card title="Keyboard Shortcuts" icon="keyboard" href="/using/keyboard-shortcuts">
    Master keyboard controls in the app
  </Card>
</CardGroup>
