Install
Install a Python or Node.js package for your application, or the standalone CLI. All three include the native runtime; no Rust toolchain or separate SDK download is needed. Python and Node also install the independently versioned WebKit companion as a required dependency.
Python and Node package installations currently require:
| Platform | Minimum system |
|---|---|
| macOS Apple silicon | macOS 26.0 |
| Linux x86_64 | glibc 2.39 (for example Ubuntu 24.04) |
Windows and Linux arm64 WebKit binaries are not available yet. The standalone CLI supports macOS Apple silicon on macOS 26.0+, Linux x86_64/arm64 with glibc 2.34+, and Windows x64. Intel macOS and Windows arm64 builds are not provided.
Linux also needs the system C++ runtime (libstdc++6 on Debian/Ubuntu).
The packages include libatomic; it does not require a separate installation.
Running the WebKit engine on Linux also requires Xvfb and a D-Bus daemon,
bubblewrap, xdg-dbus-proxy, fonts and graphics drivers. When no display or
session bus is available, Brimp starts a private Xvfb and session bus
automatically. See the
Linux prerequisites.
Python
Section titled “Python”Use Python 3.11 or newer. Create a virtual environment, activate it, and install Brimp from PyPI:
python3 -m venv .venv. .venv/bin/activatepython -m pip install brimpThis also installs the pinned brimp-webkit package; no extra is needed.
Node.js
Section titled “Node.js”Use Node.js 22.19 or newer. In your application’s directory:
npm install @brimp/brimpThis also installs @brimp/webkit. Keep npm optional dependencies enabled:
the wrappers use them to select the native packages for your platform.
If you are starting a new project, run npm init -y first. Save examples as
.mjs files so Node.js treats them as ES modules.
On Linux x64/ARM64 or macOS Apple silicon:
curl -fsSL https://brimp.ai/install.sh | shThe installer verifies the release checksum and installs brimp in
$HOME/.local/bin. If that directory is outside your PATH, it prints the line
to add to your shell profile. Check the installation with brimp doctor.
To choose a version or install directory:
curl -fsSL https://brimp.ai/install.sh | sh -s -- --version v0.1.3 --prefix "$HOME/.local"On Windows x64, download the CLI ZIP from GitHub Releases.
Extract it and run .\brimp.exe doctor in PowerShell. Keep the executable and
its DLLs together; add that directory to your PATH to use it from other folders.
Verify the runtime
Section titled “Verify the runtime”Python:
import brimp
with brimp.Session() as session: page = session.new_page() print(page.evaluate("typeof document.querySelector"))Node.js, saved as verify.mjs and run with node verify.mjs:
import { createSession } from '@brimp/brimp';
const session = await createSession();try { const page = await session.newPage(); console.log(await page.evaluate('typeof document.querySelector'));} finally { await session.close();}Both print function. Continue to the quick start to fetch a
page and read the document after its JavaScript runs.
Build or customize Brimp
Section titled “Build or customize Brimp”To change the runtime or compile it yourself, follow Build from source. Package users do not need those steps.