> Paste one prompt into Codex CLI, Claude Code, or another local agent. Sign in, save a private draft, and review a temporary Revdoku preview.

# Publish with a local AI agent

Paste this into Codex CLI, Claude Code, or another agent that can run terminal commands:

```text
Set up Revdoku so you can publish my work as a website.

Follow https://revdoku.com/llms-install.md. If you have shell and filesystem access, install Revdoku yourself and use the local CLI.

Only if local access is unavailable, use the hosted MCP connection instead.

After setup, ask what I want to publish.

```

That is the whole setup.

## First publish

Tell the agent what website to create. It installs Revdoku and runs
`revdoku preview `. If credentials are missing, Revdoku opens browser
sign-in. Create a Free account there if needed. The agent then returns:

- a temporary `noindex` preview URL; and
- its 15-minute expiry time.

The project files are saved in a private bucket. Re-running the preview refreshes
the same preview URL with a new 15-minute window.

## Publish the website

After reviewing the preview, ask the agent to run `revdoku p ` only when
you want the main website live. Later publishes from the same bound folder update
that website without changing its URL. Do not copy a token or verification code
into chat.

## Manual fallback

Only run this yourself when the AI cannot run shell commands:

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

Use `revdoku login` to sign in or switch the connected Revdoku account. Account
creation is completed on the browser signup page, not through an agent API call.

---

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