Install
Install Crabbox locally.Configure E2B
Export your E2B API key before running Crabbox.--provider e2b, or set it in a repo-level Crabbox config.
.crabbox.yaml
template is the E2B template to create. workdir is the directory where Crabbox syncs and runs your project inside the sandbox.
Run tests
Run a command in a fresh E2B sandbox.How it works
Withprovider: e2b, Crabbox uses E2B sandbox lifecycle, file upload, and process APIs instead of SSH. Crabbox owns local config, sync manifests, command orchestration, output streaming, and normalized list / status behavior. E2B owns the sandbox runtime and command transport.
Limitations
- E2B is a Linux delegated-run provider for Crabbox.
- Crabbox SSH commands such as
ssh,vnc,code, and SSH-based Actions hydration are not available withprovider: e2b. --classand--typeare rejected because sandbox resources come from the selected E2B template.--e2b-template,--e2b-workdir,--e2b-user,--e2b-api-url, and--e2b-domainoverride matching config values.