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

# Install and update the Tekma CLI

> Install the verified Tekma CLI tarball, configure its endpoint, and confirm the executable before recording.

The public package is distributed from Tekma's download endpoint. It is not a bare npm package name.

## Requirements

* Node.js 22.17 or newer.
* FFmpeg and ffprobe for recording/import workflows.
* Chrome or Chromium for browser recording.

Install the current release:

```bash theme={null}
npm install --global https://tekma.dev/downloads/tekma-cli.tgz
export CAPTURE_MCP_URL=https://mcp.tekma.dev/mcp
tekma version
```

The package exposes both `tekma` and the legacy `capture` executable names. Set `CAPTURE_MCP_URL` in each shell or CI environment that uses the hosted deployment; an unset endpoint defaults to local development.

## Update or remove it

Run the same tarball install command to update. For the npm-managed installation, remove it with:

```bash theme={null}
npm uninstall --global @tekma/cli
```

The CLI also has a separate verified user-local `install`, `upgrade` and `uninstall` workflow on macOS/Linux. Run `tekma install --help` before using it; it does not edit shell startup files and refuses to remove a foreign or changed installation.

Run `tekma doctor` when a browser, FFmpeg, endpoint or credential is not detected. See [authentication](/developers/authentication) before recording.
