Skip to main content
System

Common Software

Install browsers, languages, databases, and other tools inside the sandbox.

The sandbox runs a Debian/Ubuntu base image. You can install software with apt-get via the Process API or by customizing your Docker image. This page covers commonly needed packages and how to install them.

Browsers

Chromium

Use --no-sandbox when running Chromium inside a container. The container itself provides isolation.

Firefox

Playwright browsers

Playwright bundles its own browser binaries. Install the Playwright CLI and let it download browsers for you.


Languages and runtimes

Node.js

For a specific version, use nvm:

await sdk.runProcess({
  command: "bash",
  args: ["-c", "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && . ~/.nvm/nvm.sh && nvm install 22"],
});

Python

Python 3 is typically pre-installed. To add pip and common packages:

Go

Rust

Java (OpenJDK)

Ruby


Databases

PostgreSQL

SQLite

Redis

MySQL / MariaDB


Build tools

Essential build toolchain

Most compiled software needs the standard build toolchain:

This installs gcc, g++, make, cmake, and related tools.


Desktop applications

These require the Computer Use desktop to be started first.

LibreOffice

GIMP

VLC

VS Code (code-server)


CLI tools

Git

Docker

jq

tmux


Media and graphics

FFmpeg

ImageMagick

Poppler (PDF utilities)


Pre-installing in a Docker image

For production use, install software in your Dockerfile instead of at runtime. This avoids repeated downloads and makes startup faster.

FROM ubuntu:22.04

RUN apt-get update && apt-get install -y \
    chromium \
    firefox-esr \
    nodejs npm \
    python3 python3-pip \
    git curl wget \
    build-essential \
    sqlite3 \
    ffmpeg \
    imagemagick \
    jq \
    && rm -rf /var/lib/apt/lists/*

RUN pip3 install numpy pandas matplotlib

See Docker deployment for how to use custom images with Sandbox Agent.