Install & Modes
Pearl can run as a one-off via npx or be installed permanently. It connects to Dolt in two modes — Pearl-managed or external — depending on your team setup.
Installation methods
Section titled “Installation methods”Via npx (recommended)
Section titled “Via npx (recommended)”npx pearl-bduiAlways runs the latest version. No installation needed.
Global install
Section titled “Global install”npm install -g pearl-bduipearl-bduiPin a specific version for reproducibility.
Requirements
Section titled “Requirements”- Node.js >= 22
- Dolt installed and on your
PATH - A project with a
.beads/directory (created bybd init)
Database modes
Section titled “Database modes”Pearl runs against a Dolt SQL server. On first start, if your project uses the legacy embedded mode, Pearl shows a migration dialog with two options.
Pearl-managed mode
Section titled “Pearl-managed mode”Pearl spawns and supervises a dolt sql-server for you. Recommended for single-user setups.
- Data is stored in
.beads/doltdb/ - Pearl starts the server on launch and stops it on exit
- No configuration needed — it just works
External server mode
Section titled “External server mode”You run dolt sql-server yourself and tell Pearl where to connect. Use this for team setups or when you need custom Dolt configuration.
# Start your own Dolt servercd /path/to/projectdolt sql-server --host 127.0.0.1 --port 3307
# Point Pearl at itDOLT_HOST=127.0.0.1 DOLT_PORT=3307 npx pearl-bduiExternal mode is required when multiple developers need to read and write issues concurrently.
Choosing a mode
Section titled “Choosing a mode”| Scenario | Recommended mode |
|---|---|
| Solo developer, single machine | Pearl-managed |
| Team sharing a Dolt server | External |
| CI or automated environments | External |
| Trying Pearl for the first time | Pearl-managed |
Project structure
Section titled “Project structure”Pearl stores all data inside your repository:
your-project/├── .beads/│ ├── doltdb/ # Dolt database files│ └── metadata.json # Project metadata├── src/│ └── ...└── ...The .beads/ directory is Git-friendly — commit it to share issue history with your team, or add it to .gitignore for private tracking.
Next steps
Section titled “Next steps”- Configuration — environment variables and settings
- Quickstart — get running in under a minute