Installation
Install Rollberry using npx for zero-install usage, or globally via npm. Covers system requirements and verification.
Requirements#
Rollberry requires Node.js 18 or later. You can check your current Node.js version by running:
node --versionIf you need to install or update Node.js, visit nodejs.org or use a version manager like nvm:
# Install Node.js 18+ using nvm
nvm install 18
nvm use 18Rollberry uses Playwright to manage the Chromium browser automatically. There is no need to install Chrome or Chromium separately — Playwright handles the browser binary download on first run.
Zero-install with npx (recommended)#
The easiest way to use Rollberry is with npx, which comes bundled with Node.js. This approach requires no installation at all:
npx rollberry capture https://example.comOn the first run, npx will download the rollberry package and its dependencies (including the Chromium browser binary). Subsequent runs will use the cached version.
This is the recommended approach for most users because:
- No global packages to manage or update
- Always runs the latest version (or specify a version explicitly)
- Clean environment with no side effects on your system
- Works immediately in CI/CD pipelines
To pin a specific version:
npx rollberry@0.1.3 capture https://example.comGlobal installation#
If you use Rollberry frequently, you can install it globally for faster startup:
npm install -g rollberryAfter global installation, the rollberry command is available directly:
rollberry capture https://example.comTo update to the latest version:
npm update -g rollberryTo uninstall:
npm uninstall -g rollberryVerifying the installation#
After installation, verify that Rollberry is working correctly:
# Check the version
npx rollberry --versionExpected output:
rollberry v0.1.3
You can also run a quick test capture to confirm everything is set up properly:
npx rollberry capture https://example.com --duration 3This should produce an MP4 file in the ./rollberry-output directory within a few seconds.
Platform support#
Rollberry works on all platforms supported by Playwright:
| Platform | Architecture | Status |
|---|---|---|
| macOS | x64, arm64 (Apple Silicon) | Supported |
| Linux | x64, arm64 | Supported |
| Windows | x64 | Supported |
On Linux, you may need to install additional system dependencies for Chromium. Playwright provides a command to install them:
npx playwright install-deps chromiumCI/CD environments#
Rollberry works in CI/CD pipelines out of the box. For headless environments like GitHub Actions, GitLab CI, or Jenkins, no additional configuration is needed since Rollberry runs the browser in headless mode by default.
For Docker-based CI environments, you may need to install Chromium's system dependencies. See the Common Issues page for details on CI/CD setup.
Next steps#
With Rollberry installed, head to the Quick Start guide to capture your first page.