# The Clonvo CLI: every tool as a terminal command

> Install @clonvo/cli, sign in with your browser, and call any of Clonvo's 22 tools from a terminal, with JSON output for jq, scripts and agents.

16 November 2026. Product, CLI.

Clonvo now has a command-line tool. Install it from npm, sign in with your browser, and every Clonvo tool is a command in your terminal: web search, page reading, crawls, research, the browser agent, code sandboxes, and company and people lookups. Results print as JSON, ready for `jq`, a script or an agent. The source is on [GitHub](https://github.com/clonvodotcom/cli) under the MIT licence.

```bash
npm install -g @clonvo/cli
clonvo login
clonvo web_search "durable objects vs queues" --max-results 2
```

## Sign in once

`clonvo login` opens Clonvo in your browser. You pick the organization and project the CLI works in and approve, and the CLI keeps the sign-in in `~/.config/clonvo`, readable only by you. It renews itself, so you don't sign in again. Calls bill to that project and show up in Activity as **Clonvo CLI**. Tools need Pay as you go or higher, which an organization gets when it first buys credits.

Each computer you sign in on is its own connection under **Settings → Connected apps**, and you can disconnect one there or with `clonvo logout`. The sign-in is OAuth with PKCE and a redirect to `127.0.0.1`. Tokens it gets work on the tool and account endpoints. Tokens other apps get through OAuth stay limited to MCP.

## Call a tool

Each tool takes its required arguments in order, and every other argument as a flag. Here's the search from above, with what it printed:

```bash
$ clonvo web_search "durable objects vs queues" --max-results 2
{
  "query": "durable objects vs queues",
  "results": [
    {
      "title": "Queues and Durable Objects: async messaging and state — Things Worth Sharing",
      "url": "https://cloudsecop.net/en/blog/queues-durable-objects-en",
      "snippet": "Who this is for Developers building workflows with background tasks…",
      "published_at": "2025-09-27T00:00:00.000Z"
    },
    {
      "title": "Choose a data or storage product",
      "url": "https://developers.cloudflare.com/workers/platform/storage-options",
      "snippet": "Choose a storage product The following table maps our storage & database products…"
    }
  ]
}
web_search · clonvo · $0.0010 · gen-01M7K50CVR16Q0DX5MMA8933SA
```

The JSON goes to standard output. The last line goes to standard error, so it stays out of a pipe: the tool, who served it, the charge and the generation id. `clonvo tools` lists every tool, and `clonvo web_extract --help` shows one tool's arguments, built from the same schema the API and MCP server use.

Flags follow each tool's types. Repeat a list flag to add items, and pass objects as JSON inline, from a file with `@`, or from standard input with `-`:

```bash
clonvo web_search "vector databases" --include-domains github.com --include-domains arxiv.org
clonvo web_extract https://example.com/pricing --schema @pricing-schema.json
clonvo web_search "agent memory" --compact | jq -r '.results[].url'
```

## Long-running tools

`web_crawl`, `web_research` and `browser_task` run as jobs. The CLI waits for the result and Ctrl-C cancels the job, so nothing keeps running and charging after you stop. With `--no-wait` you get the job id back at once:

```bash
clonvo web_research "state of browser agents" --no-wait
clonvo jobs get gen-…
```

## In CI and on servers

Where there's no browser, set an API key. The CLI uses `CLONVO_API_KEY` before any saved sign-in, and exits with `4` when it has neither, so a script can tell a missing sign-in from a failed call:

```bash
export CLONVO_API_KEY="sk-cv-v1-…"
clonvo code_run 'print(2 + 2)'
```

## What else is in it

-   Shell completion for bash, zsh and fish, covering commands, tool names and each tool's flags.
-   `clonvo whoami` shows how you're signed in, the plan and the balance. `clonvo balance` shows the balance alone.
-   `--debug` logs each HTTP request with its method, URL, status and time, never tokens or bodies.
-   No runtime dependencies and no telemetry. Once a day, in an interactive terminal, it checks npm for a newer version.

The [CLI docs](https://clonvo.com/docs/cli.md) cover every command and flag. [Create an account](https://clonvo.com/sign-up.md), then run `npx @clonvo/cli login` to try it without installing.

## Read next

-   [Browser runs and sandboxes for agents](https://clonvo.com/blog/browser-runs-and-sandboxes.md): Agents on Clonvo can now run code in Linux sandboxes, keep a sandbox with a preview link, and send a browser agent through a site to reach a goal.
-   [Images, rerank and audio output are now on Clonvo](https://clonvo.com/blog/images-rerank-and-audio-output.md): Images from 13 models, reranking, and spoken or musical answers, on the same API key your agents use for models and tools.
