Installation¶
devsandbox is a single binary for Linux and macOS. Check the platform requirements, install the binary, then run devsandbox doctor.
Platform requirements¶
Linux¶
Your kernel must support unprivileged user namespaces. Verify with:
No system packages are required - bwrap and pasta binaries ship embedded in the devsandbox binary.
Proxy mode needs two host packages.
devsandbox --proxylocks the sandbox's egress to the proxy, which is applied withiproute2andnft(oriptables), plus loadablenf_tablesandnf_conntrackkernel modules. There is no embedded substitute and no degraded mode: a proxy launch aborts if they are missing.devsandbox doctorreports this as theproxy: firewallrow. Launches without--proxyare unaffected. See proxy mode requirements.Want hardware-level isolation for untrusted code? The experimental
krunmicroVM backend needs extra packages (podman, thekrunruntime, KVM). See krun microVM setup.
macOS¶
A Docker runtime is required, and it must be running before you start devsandbox:
- OrbStack - recommended for Apple Silicon (fastest startup, lowest resource usage)
- Docker Desktop - most widely tested
- Colima - free and open-source
Install devsandbox¶
With mise (recommended)¶
mise is optional. devsandbox runs without it. It is the recommended install path for two reasons:
- One command installs the right binary for your OS and architecture, and
mise upgradepicks up new releases. - devsandbox shares your mise-managed tools (Go, Node, Python, kubectl, ...) with the sandbox read-only, so they work inside without a reinstall. See Tool management with mise.
If you don't have mise yet, install and activate it (mise getting started):
# bash
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
# zsh
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
# fish
echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish
Then install devsandbox:
Direct binary download¶
Every release ships devsandbox_<OS>_<arch>.tar.gz for Linux and Darwin, on x86_64 and arm64. For Linux on x86_64:
curl -L https://github.com/zekker6/devsandbox/releases/latest/download/devsandbox_Linux_x86_64.tar.gz | tar xz
sudo mv devsandbox /usr/local/bin/
Without mise, devsandbox works the same, but your toolchain is whatever the sandbox already sees: system packages on Linux, the container image on macOS. Install anything else inside the sandbox.
Build from source¶
Requires Go 1.26+ and Task. With mise installed, mise install provides both:
Verify¶
Optional system packages (Linux fallback)¶
If embedded binary extraction fails, install system equivalents:
# Arch Linux
sudo pacman -S bubblewrap passt
# Debian/Ubuntu
sudo apt install bubblewrap passt
# Fedora
sudo dnf install bubblewrap passt
To prefer system binaries over embedded, set use_embedded = false in Configuration.
Next step¶
Continue to Quick start.