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

# CLI

> Install the Tembo CLI on your own machine so you can connect it to Tembo as a device.

The Tembo CLI (`tembo`) is a command-line tool you install on your own machine. Use it to connect a laptop, server, or other machine to Tembo as a [device](https://docs.tembo.io/features/devices.md), so sessions you start can work on it.

This page covers the CLI you install yourself. Agents also have a `tembo` command inside their sandbox, which is a separate tool. See [Tembo CLI commands](https://docs.tembo.io/features/sandbox/built-in-skills-and-tools.md#tembo-cli-commands) for that reference.

## Install

```bash Install script theme={null}
curl -fsSL https://cli.tembo.sh | sh
```

```bash Homebrew theme={null}
brew install tembo/tap/tembo
```

The install script supports macOS and Linux on x64 and arm64. It verifies the download's checksum and installs `tembo` to `~/.local/bin`. If that directory isn't on your `PATH`, the script prints the line to add to your shell profile.

On Windows, download [tembo-x86\_64-pc-windows-msvc.zip](https://cli.tembo.sh/latest/tembo-x86_64-pc-windows-msvc.zip), extract it, and put `tembo.exe` on your `PATH`.

Check the installed version:

```bash theme={null}
tembo --version
```

Run `tembo --help` to see all commands.

### Install options

Set these environment variables on the `sh` side of the pipe to change what the script installs:

| Variable | Description | Default |
| - | - | - |
| `TEMBO_VERSION` | Release to install, for example `0.1.0`. | Latest release |
| `TEMBO_INSTALL_DIR` | Directory to install `tembo` into. | `~/.local/bin` |

```bash theme={null}
curl -fsSL https://cli.tembo.sh | TEMBO_INSTALL_DIR="$HOME/bin" sh
```

To update, run the install script again or run `brew upgrade tembo`.

## Connect a machine

To connect this machine to Tembo, see [Devices](https://docs.tembo.io/features/devices.md#connect-with-the-cli).

## Troubleshooting

> [accordion] tembo: command not found
>
> The install directory isn't on your `PATH`. Add the line the install script printed to your shell profile, then open a new terminal.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.