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

# Installation

> Install the boxd CLI and get your terminal talking to your machines.

The boxd CLI manages machines from the terminal on your laptop. It talks to the boxd API directly, so it works without SSH keys, and it is the recommended way in for people and coding agents. For automation from code, use the [Python](/reference/python-sdk.md) or [TypeScript](/reference/typescript-sdk.md) SDK.

<video autoPlay muted loop playsInline src="/videos/install-cli.mp4" />

One command installs the binary, the agent skill, and shell completions.

## Install

> [tab] macOS and Linux
>
> ```bash
> curl -fsSL https://boxd.sh/downloads/install.sh | sh
> ```
>
> The installer puts the `boxd` binary in `~/.local/bin/boxd`. It supports macOS (Apple Silicon) and Linux (x86\_64 and arm64).
>
> From an AI agent, or anywhere without a terminal to answer the installer's questions, add `--yes`. Without it only the binary is installed; with it the installer also adds the agent skills, the PATH line and shell completions:
>
> ```bash
> curl -fsSL https://boxd.sh/downloads/install.sh | sh -s -- --yes
> ```

> [tab] Windows
>
> In PowerShell (not Command Prompt):
>
> ```powershell
> irm https://boxd.sh/downloads/install.ps1 | iex
> ```
>
> The installer puts the `boxd` binary in `~\.local\bin\boxd.exe` and needs no administrator rights. It supports Windows 10 and 11 on x86\_64; Windows 11 on Arm runs the same build.
>
> From an AI agent, or anywhere without a console to answer the installer's questions, pass `-Yes`. Without it only the binary is installed; with it the installer also adds the agent skills and puts `~\.local\bin` on your user PATH:
>
> ```powershell
> & ([scriptblock]::Create((irm https://boxd.sh/downloads/install.ps1))) -Yes
> ```
>
> `ssh <machine>.boxd` works from PowerShell through the OpenSSH client built into Windows, and a background task that starts when you sign in keeps it up to date with your machines. Shell completions aren't available on Windows yet.

## What you get

One install sets up the binary, and offers the agent skill and shell completions alongside it:

* **The binary.** Every command in the [reference](/cli/commands.md), plus an interactive REPL. Running bare `boxd` in a terminal drops into `boxd (org)>`, where you type the same commands without the `boxd` prefix, with tab completion and arrow-key pickers for missing arguments.
* **Client utilities.** The [bridge](/guides/client-utilities.md) that brings your laptop's clipboard, files, and browser into a machine (macOS and Linux) is built into the same binary. It's off by default. Turn it on with `boxd config set client-utils.enable true`.
* **Menu bar (macOS).** Your machines in the [macOS menu bar](/guides/menu-bar.md): create one, connect, open its website, or put it to sleep in a click. It shows once you sign in with `boxd auth login`.
* **Agent skill.** The installer offers the `boxd-cli` [skill](/reference/skills.md). It teaches the agent to drive the CLI and loads automatically when the agent's task calls for it. It goes to `~/.agents/skills/`, which Codex, Cursor, Copilot, Gemini CLI and OpenCode read, and is linked into `~/.claude/skills/` for Claude Code.

## Verify

```bash
boxd version
```

## Shell completions

Completions cover commands, flags, and your machine, snapshot, org, proxy, and key names, fetched live. The installer and `boxd auth login` set them up. To install them again by hand:

```bash
boxd completions --install       # auto-detects your shell, idempotent
boxd completions zsh             # or print the raw script yourself
```

## Upgrade

Re-run the installer any time. It upgrades the binary and the skill together.

```bash macOS and Linux
curl -fsSL https://boxd.sh/downloads/install.sh | sh
```

```powershell Windows
irm https://boxd.sh/downloads/install.ps1 | iex
```

## Next steps

The CLI is installed. [Log in](/cli/authentication.md) next, then browse the full [command reference](/cli/commands.md).
