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

# Installation

> Install the Webcompute CLI for direct agentic workflows and add the TypeScript SDK for applications, backend services, and automations.

Install the CLI to run web agents, configure model profiles, and set up MCP. Install the SDK when agentic workflows belong inside applications, backend services, or recurring automations.

## CLI

Requires Node.js 20 or newer.

```bash theme={null}
curl -fsSL https://install.webcompute.dev | sh

web login wc_key_your_key_here
web status
```

The CLI owns local install, update, uninstall, auth storage, MCP startup, plugin setup, browser commands, and `web agent` runs.

## SDK

```bash theme={null}
npm install https://install.webcompute.dev/sdk/latest.tgz
```

The SDK tarball is published at `https://install.webcompute.dev/sdk/latest.tgz`. Version metadata is available at `https://install.webcompute.dev/sdk/latest.json`.

For reproducible installs, read `latest.json`, copy the versioned `tarballUrl`, and commit your lockfile.

## MCP

Run the MCP server directly:

```bash theme={null}
web mcp run
```

Configure a supported host:

```bash theme={null}
web mcp setup
```

`web mcp setup` writes a managed local stdio configuration for the target host. Use [MCP integration](/integrations/mcp) for target-specific details.

## Update

```bash theme={null}
web update
```

Use `web doctor` after updates when a host cannot find the CLI, an MCP process fails to start, or an API key is missing.
