## Install

On Linux (x86_64 or aarch64), as your own user. No root, no Docker.

```sh
curl -fsSL https://hbx.sh | sh
```

Then run your first command:

```sh
~/.local/bin/hermitbox run -- echo hello
```

## Your first sandbox

Set `HERMITBOX_API_URL` and `HERMITBOX_API_KEY` to the values the installer printed.

```ts
import { Hermitbox } from 'hermitbox'

// Connect with the URL and key the installer printed.
const hb = new Hermitbox({
  url: process.env.HERMITBOX_API_URL!,
  key: process.env.HERMITBOX_API_KEY!,
})

// Create a sandbox on the host's default tier.
const box = await hb.sandbox()

// Run a command in it.
const result = await box.run('echo hello')
console.log(result.stdout) // hello

// Delete it when you're done.
await box.delete()
```

## Where to go next

- [Use with your agent](https://docs.hermitbox.dev/v0.2.0/agents.md): Claude, Cursor, VS Code and Codex over MCP.
- [Connect your code](https://docs.hermitbox.dev/v0.2.0/connect.md): TypeScript, Python, the CLI, GitHub Actions and HTTP.
- [Host Hermitbox](https://docs.hermitbox.dev/v0.2.0/hosting.md): your own machine, a server, or a platform.
- [Isolation tiers](https://docs.hermitbox.dev/v0.2.0/tiers.md): what each tier guarantees, and what it needs.
