> Install the Revdoku CLI on macOS or Linux. Read email and attachments, reply to senders and upload files from your terminal.

# Revdoku CLI

The `revdoku` command reads email and attachments, replies to senders and uploads files from your terminal. AI agents can run it too.

You need: macOS or Linux with `bash` and `curl`, a browser to sign in, and a Revdoku account: [create a free mailbox](https://app.revdoku.com/users/sign_up?utm_source=revdoku.com&utm_medium=website&utm_campaign=cli). You do not need a card.

## 1. Install

Run this command:

```sh
curl -fsSL https://revdoku.com/install.sh | bash
```

The installer puts the command in `~/.revdoku/bin/revdoku`. It also installs the Revdoku skill for the AI agents that it finds on your computer.

## 2. Add the command to your PATH

Add this line to your shell profile, for example `~/.zshrc` or `~/.bashrc`. Then open a new terminal.

```sh
export PATH="$HOME/.revdoku/bin:$PATH"
```

## 3. Sign in

Run any command. The first time, the CLI opens Revdoku in your browser. Sign in and choose the account and the mailboxes.

```sh
revdoku accounts
```

## 4. Read your email

List the emails in a mailbox. Mailbox IDs start with `bkt_`.

```sh
revdoku emails --mailbox-id MAILBOX_ID
```

## Common commands

| Task | Command |
| --- | --- |
| List emails | `revdoku emails --mailbox-id ID` |
| Read one email | `revdoku email EMAIL_ID --mailbox-id ID` |
| Download an attachment | `revdoku email-download EMAIL_ID --attachment-id ID --mailbox-id ID` |
| Reply to the sender | `revdoku email-send --in-reply-to EMAIL_ID --text TEXT --mailbox-id ID` |
| Upload a folder | `revdoku upload ./project-files` |
| List files | `revdoku files --mailbox-id ID` |
| Show your plan limits | `revdoku account limits` |

The [docs](/docs/) list every command.

## Installed the skill with npx?

`npx skills add revdoku/revdoku --skill revdoku -g` installs the skill for your AI agents, but it does not add `revdoku` to your PATH. Your agent runs the bundled `scripts/revdoku.sh` from the skill folder instead. To use the command yourself, run the installer above. See [Install the Revdoku skill](/skills/).

Email for use by your
AI apps and agents

Receive emails, send replies, store attachments.
Designed for quick integration into your workflow.

3 free mailboxes

3,000 emails in, 500 out a month

3 GB of file storage

Malware and prompt-injection filter

API, MCP and CLI access

Start Free →

Need help? Email us
No card required.

---

[View the canonical page](https://revdoku.com/cli/) · [Browse llms.txt](https://revdoku.com/llms.txt)
