Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions content/manuals/ai/sandboxes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ $ sbx login
> sbx login
```

{{< /tab >}}
{{< tab name="Linux (Ubuntu)" >}}

```console
$ curl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh
$ sudo apt-get install docker-sbx
$ sudo usermod -aG kvm $USER
$ newgrp kvm
$ sbx login
```

{{< /tab >}}
{{< /tabs >}}

Expand Down
21 changes: 20 additions & 1 deletion content/manuals/ai/sandboxes/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@

## Prerequisites

- macOS (Apple silicon) or Windows (x86_64, Windows 11 required)
- macOS (Apple silicon), Windows (x86_64, Windows 11 required), or Linux
(Ubuntu 22.04 or later, x86_64)
- If you're on Windows, enable Windows Hypervisor Platform. Open an elevated
PowerShell prompt (Run as Administrator) and run:
```powershell
Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -All
```
- If you're on Linux, your user must be in the `kvm` group for hardware
virtualization access.
- An API key or authentication method for the agent you want to use. Most
agents require an API key for their model provider (Anthropic, OpenAI,
Google, and others). See the [agent pages](agents/) for provider-specific
Expand All @@ -50,6 +53,22 @@
> sbx login
```

{{< /tab >}}
{{< tab name="Linux (Ubuntu)" >}}

```console
$ curl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh
$ sudo apt-get install docker-sbx
$ sudo usermod -aG kvm $USER
$ newgrp kvm
$ sbx login
```

The first command adds Docker's `apt` repository to your system. The
`usermod` command grants your user access to `/dev/kvm` for hardware
virtualization. You need to log out and back in (or use `newgrp`) for the

Check warning on line 69 in content/manuals/ai/sandboxes/get-started.md

View workflow job for this annotation

GitHub Actions / validate (vale)

[vale] reported by reviewdog 🐶 [Docker.RecommendedWords] Consider using 'sign out' instead of 'log out' Raw Output: {"message": "[Docker.RecommendedWords] Consider using 'sign out' instead of 'log out'", "location": {"path": "content/manuals/ai/sandboxes/get-started.md", "range": {"start": {"line": 69, "column": 29}}}, "severity": "INFO"}
group change to take effect.

{{< /tab >}}
{{< /tabs >}}

Expand Down