Installing Beads
Beads is available for macOS, Linux, Windows, and FreeBSD. Choose the installation method that works best for your environment.Important: Beads is installed system-wide, not cloned into your project. The
.beads/ directory in your project only contains the issue database.Quick Install (Recommended)
- macOS / Linux
- Windows
- FreeBSD
Shell Script
- Detect your platform (macOS/Linux/FreeBSD, amd64/arm64)
- Install via
go installif Go is available - Fall back to building from source if needed
- Guide you through PATH setup if necessary
Homebrew (Recommended)
- ✅ Simple one-command install
- ✅ Automatic updates via
brew upgrade - ✅ No need to install Go
- ✅ Handles PATH setup automatically
Package Managers
Homebrew
npm
Go
Arch Linux (AUR)
Alternative Package Managers
Mise-en-place
Mise works on all platforms and supports version management:Bun
Building from Source
Prerequisites
Forgo install or building from source, you need CGO dependencies:
- macOS
- Ubuntu / Debian
- Fedora / RHEL
- Windows
unicode/uregex.h missing, icu4c is keg-only:Build Steps
Installation Comparison
| Method | Best For | Updates | Prerequisites | Notes |
|---|---|---|---|---|
| Homebrew | macOS/Linux users | brew upgrade beads | Homebrew | Recommended. Handles everything automatically |
| npm | JS/Node.js projects | npm update -g @beads/bd | Node.js | Convenient if npm is your ecosystem |
| bun | JS/Bun projects | bun install -g --trust @beads/bd | Bun | Convenient if bun is your ecosystem |
| Install script | Quick setup, CI/CD | Re-run script | curl, bash | Good for automation and one-liners |
| go install | Go developers | Re-run command | Go 1.24+ | Builds from source, always latest |
| From source | Contributors, custom builds | git pull && go build | Go, git | Full control, can modify code |
| AUR (Arch) | Arch Linux users | yay -Syu | yay/paru | Community-maintained |
| Mise | Version management | mise up | Mise | Supports project-specific versions |
Verify Installation
After installing, verify Beads is working:IDE and Editor Integrations
After installing the CLI, set up your editor:Claude Code / Cursor / Windsurf
Recommended approach for editors with shell access:- Editor hooks/rules inject
bd primeon session start bd primeprovides ~1-2k tokens of workflow context- You use
bdCLI commands directly - Git hooks (from
bd init) auto-sync the database
- Context efficient - ~1-2k tokens vs 10-50k for MCP
- Lower latency - Direct CLI calls, no protocol overhead
- Universal - Works with any editor that has shell access
GitHub Copilot (VS Code)
For VS Code with GitHub Copilot, use the MCP server:Configure MCP
Create For all projects, add to user-level MCP config:
.vscode/mcp.json in your project:| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Code/User/mcp.json |
| Linux | ~/.config/Code/User/mcp.json |
| Windows | %APPDATA%\Code\User\mcp.json |
Claude Desktop (MCP-only)
For environments without shell access:Configure Claude Desktop
Add to
~/Library/Application Support/Claude/claude_desktop_config.json (macOS):Troubleshooting
bd: command not found
Beads is not in your PATH. Either:
zsh: killed bd (macOS crashes)
Some macOS users report crashes. This is typically a CGO/SQLite compatibility issue.
Workaround:
If you installed via Homebrew, CGO is already enabled. If you’re still seeing crashes, please file an issue.
MCP server fails to start (Claude Code)
If the MCP server fails immediately after installation,uv is likely not in your PATH.
Symptoms:
- Plugin slash commands work, but MCP tools are unavailable
- Error logs show
command not found: uv - Server fails silently on startup
Missing unicode/uregex.h (macOS)
On macOS, icu4c is keg-only (not in PATH by default).
Solution:
Windows: Pure Go regex backend
Windows builds automatically use Go’s stdlibregexp instead of ICU to avoid CGO dependencies.
If you need full ICU regex semantics, use Linux/macOS (or WSL on Windows) with ICU installed.
Updating Beads
Use the update command that matches how you installed:After Upgrading
Run these commands to check for updates and refresh hooks:Next Steps
Quickstart
Get up and running in 2 minutes
Initialize Your Project
Run
bd init to set up Beads in your project