@@ -19,12 +19,15 @@ cleaning up.
1919
2020## Prerequisites
2121
22- - macOS (Apple silicon) or Windows (x86_64, Windows 11 required)
22+ - macOS (Apple silicon), Windows (x86_64, Windows 11 required), or Linux
23+ (Ubuntu 22.04 or later, x86_64)
2324- If you're on Windows, enable Windows Hypervisor Platform. Open an elevated
2425 PowerShell prompt (Run as Administrator) and run:
2526 ``` powershell
2627 Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -All
2728 ```
29+ - If you're on Linux, your user must be in the ` kvm ` group for hardware
30+ virtualization access.
2831- An API key or authentication method for the agent you want to use. Most
2932 agents require an API key for their model provider (Anthropic, OpenAI,
3033 Google, and others). See the [ agent pages] ( agents/ ) for provider-specific
@@ -50,6 +53,22 @@ $ sbx login
5053> sbx login
5154```
5255
56+ {{< /tab >}}
57+ {{< tab name="Linux (Ubuntu)" >}}
58+
59+ ``` console
60+ $ curl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh
61+ $ sudo apt-get install docker-sbx
62+ $ sudo usermod -aG kvm $USER
63+ $ newgrp kvm
64+ $ sbx login
65+ ```
66+
67+ The first command adds Docker's ` apt ` repository to your system. The
68+ ` usermod ` command grants your user access to ` /dev/kvm ` for hardware
69+ virtualization. You need to log out and back in (or use ` newgrp ` ) for the
70+ group change to take effect.
71+
5372{{< /tab >}}
5473{{< /tabs >}}
5574
0 commit comments